This can be overridden at node level using nodes[n].transcriber.
AssemblyAITranscriber
AzureSpeechTranscriber
CustomTranscriber
DeepgramTranscriber
ElevenLabsTranscriber
GladiaTranscriber
GoogleTranscriber
SpeechmaticsTranscriber
TalkscriberTranscriber
OpenAITranscriber
CartesiaTranscriber
Show child attributes
voice
AzureVoice · object
This is the voice for the workflow.
This can be overridden at node level using nodes[n].voice.
AzureVoice
CartesiaVoice
CustomVoice
DeepgramVoice
ElevenLabsVoice
HumeVoice
LMNTVoice
NeuphonicVoice
OpenAIVoice
PlayHTVoice
RimeAIVoice
SmallestAIVoice
TavusVoice
cozmoxVoice
SesameVoice
InworldVoice
Show child attributes
observabilityPlan
Langfuse · object
This is the plan for observability of workflow's calls.
Currently, only Langfuse is supported.
Show child attributes
backgroundSound
enum<string>string<uri>
This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.
You can also provide a custom sound by providing a URL to an audio file.
These are dynamic credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.
AnthropicCredential
AnyscaleCredential
AssemblyAICredential
AzureCredential
AzureOpenAICredential
ByoSipTrunkCredential
CartesiaCredential
CerebrasCredential
CloudflareCredential
CustomLLMCredential
DeepgramCredential
DeepInfraCredential
DeepSeekCredential
ElevenLabsCredential
GcpCredential
GladiaCredential
GhlCredential
GoogleCredential
GroqCredential
HumeCredential
InflectionAICredential
LangfuseCredential
LmntCredential
MakeCredential
MistralCredential
NeuphonicCredential
OpenAICredential
OpenRouterCredential
PerplexityAICredential
PlayHTCredential
RimeAICredential
RunpodCredential
S3Credential
SmallestAICredential
SpeechmaticsCredential
SupabaseCredential
TavusCredential
TogetherAICredential
TrieveCredential
TwilioCredential
VonageCredential
WebhookCredential
XAiCredential
GoogleCalendarOAuth2ClientCredential
GoogleCalendarOAuth2AuthorizationCredential
GoogleSheetsOAuth2AuthorizationCredential
SlackOAuth2AuthorizationCredential
GoHighLevelMCPCredential
Show child attributes
globalPrompt
string
Maximum string length: 5000
server
object
This is where cozmox will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.
The order of precedence is:
tool.server
workflow.server / assistant.server
phoneNumber.server
org.server
Show child attributes
compliancePlan
object
This is the compliance plan for the workflow. It allows you to configure HIPAA and other compliance settings.
Show child attributes
analysisPlan
object
This is the plan for analysis of workflow's calls. Stored in call.analysis.
Show child attributes
artifactPlan
object
This is the plan for artifacts generated during workflow's calls. Stored in call.artifact.
Show child attributes
startSpeakingPlan
object
This is the plan for when the workflow nodes should start talking.
You should configure this if you're running into these issues:
The assistant is too slow to start talking after the customer is done speaking.
The assistant is too fast to start talking after the customer is done speaking.
The assistant is so fast that it's actually interrupting the customer.
Show child attributes
stopSpeakingPlan
object
This is the plan for when workflow nodes should stop talking on customer interruption.
You should configure this if you're running into these issues:
The assistant is too slow to recognize customer's interruption.
The assistant is too fast to recognize customer's interruption.
The assistant is getting interrupted by phrases that are just acknowledgments.
The assistant is getting interrupted by background noises.
The assistant is not properly stopping -- it starts talking right after getting interrupted.
Show child attributes
monitorPlan
object
This is the plan for real-time monitoring of the workflow's calls.
Usage:
To enable live listening of the workflow's calls, set monitorPlan.listenEnabled to true.
To enable live control of the workflow's calls, set monitorPlan.controlEnabled to true.
Show child attributes
backgroundSpeechDenoisingPlan
object
This enables filtering of noise and background speech while the user is talking.
Features:
Smart denoising using Krisp
Fourier denoising
Both can be used together. Order of precedence:
Smart denoising
Fourier denoising
Show child attributes
credentialIds
string[]
These are the credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can provide a subset using this.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Cozmox-AI Nebula SDK","colors":{"primary":"#FF5911","light":"#FF5911","dark":"#c44b09"},"favicon":"/logo/favicon.png","logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/czmx/logo/logo_light.svg","dark":"https://mintlify.s3.us-west-1.amazonaws.com/czmx/logo/logo_dark.svg"},"navbar":{"links":[{"label":"Support","href":"mailto:development@cozmox.ai"}],"primary":{"type":"button","label":"Dashboard","href":"https://cozmox.ai"}},"footer":{"socials":{"x":"https://x.com/cozmoxai","linkedin":"https://www.linkedin.com/company/cozmox-ai/"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"czmx","hasAudioNarration":false,"actualSubdomain":"czmx","customDomains":["docs.cozmox.cloud"],"gitSource":{"type":"github","owner":"zywa-co","repo":"sdk-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9248dc5f2fcf249014baf:success","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"API Reference","count":120},{"language":"default","tag":"Assistants","count":5},{"language":"default","tag":"Calls","count":5},{"language":"default","tag":"Campaigns","count":5},{"language":"default","tag":"Chats","count":5},{"language":"default","tag":"Files","count":5},{"language":"default","tag":"Knowledge Base","count":5},{"language":"default","tag":"Phone Numbers","count":5},{"language":"default","tag":"Sessions","count":5},{"language":"default","tag":"Tools","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/workflow/delete-workflow","slug":"/api-reference/workflow/delete-workflow","pageMetadata":{"openapi":"delete /workflow/{id}","title":"Delete Workflow","description":null,"href":"/api-reference/workflow/delete-workflow"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"delete /workflow/{id}","title":"Delete Workflow","description":null,"href":"/api-reference/workflow/delete-workflow"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"WorkflowController_delete","summary":"Delete Workflow","parameters":["bad4a0ec-7d3b-4b81-bb54-c2e3b8101167"],"responses":{"200":"8cff16b2-fd52-4447-b6fc-4be7d3994617"},"tags":["Workflow"],"security":["59116921-58fe-4b4e-a0c2-3c86c26612c3"],"method":"delete","type":"path","servers":["b5b8326a-680d-4e65-bd4d-46e31c9c1334","1698761f-fe56-43c1-839e-05ab7d829049"],"path":"/workflow/{id}","baseUrlOptions":["https://api.cozmox.ai","https://api.cozmox.ai"],"title":"Delete Workflow","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"bad4a0ec-7d3b-4b81-bb54-c2e3b8101167":{"name":"id","required":true,"in":"path","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"8cff16b2-fd52-4447-b6fc-4be7d3994617":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"nodes":{"type":"array","items":{"oneOf":[{"type":"object","title":"ConversationNode","required":["type","name"],"properties":{"type":{"type":"string","description":"This is the Conversation node. This can be used to start a conversation with the customer.\n\nThe flow is:\n- Workflow starts the conversation node\n- Model is active with the `prompt` and global context.\n- Model will call a tool to exit this node.\n- Workflow will extract variables from the conversation.\n- Workflow continues.","enum":["conversation"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.name","typeLabel":"string"},"model":{"oneOf":[{"type":"object","title":"WorkflowOpenAIModel","description":"This is the model for the node.\n\nThis overrides `workflow.model`.","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the provider of the model (`openai`).","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.0.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the OpenAI model that will be used.\n\nWhen using cozmox OpenAI or your own Azure Credentials, you have the option to specify the region for the selected model. This shouldn't be specified unless you have a specific reason to do so. cozmox will automatically find the fastest region that make sense.\nThis is helpful when you are required to comply with Data Residency rules. Learn more about Azure regions here https://azure.microsoft.com/en-us/explore/global-infrastructure/data-residency/.","maxLength":100,"enum":["gpt-4.1-2025-04-14","gpt-4.1-mini-2025-04-14","gpt-4.1-nano-2025-04-14","gpt-4.1","gpt-4.1-mini","gpt-4.1-nano","gpt-4.5-preview","chatgpt-4o-latest","o3","o3-mini","o4-mini","o1-preview","o1-preview-2024-09-12","o1-mini","o1-mini-2024-09-12","gpt-4o-mini-2024-07-18","gpt-4o-mini","gpt-4o","gpt-4o-2024-05-13","gpt-4o-2024-08-06","gpt-4o-2024-11-20","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-turbo-preview","gpt-4-0125-preview","gpt-4-1106-preview","gpt-4","gpt-4-0613","gpt-3.5-turbo","gpt-3.5-turbo-0125","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k","gpt-3.5-turbo-0613","gpt-4.1-2025-04-14:westus","gpt-4.1-2025-04-14:eastus2","gpt-4.1-2025-04-14:eastus","gpt-4.1-2025-04-14:westus3","gpt-4.1-2025-04-14:northcentralus","gpt-4.1-2025-04-14:southcentralus","gpt-4.1-mini-2025-04-14:westus","gpt-4.1-mini-2025-04-14:eastus2","gpt-4.1-mini-2025-04-14:eastus","gpt-4.1-mini-2025-04-14:westus3","gpt-4.1-mini-2025-04-14:northcentralus","gpt-4.1-mini-2025-04-14:southcentralus","gpt-4.1-nano-2025-04-14:westus","gpt-4.1-nano-2025-04-14:eastus2","gpt-4.1-nano-2025-04-14:westus3","gpt-4.1-nano-2025-04-14:northcentralus","gpt-4.1-nano-2025-04-14:southcentralus","gpt-4o-2024-11-20:swedencentral","gpt-4o-2024-11-20:westus","gpt-4o-2024-11-20:eastus2","gpt-4o-2024-11-20:eastus","gpt-4o-2024-11-20:westus3","gpt-4o-2024-11-20:southcentralus","gpt-4o-2024-08-06:westus","gpt-4o-2024-08-06:westus3","gpt-4o-2024-08-06:eastus","gpt-4o-2024-08-06:eastus2","gpt-4o-2024-08-06:northcentralus","gpt-4o-2024-08-06:southcentralus","gpt-4o-mini-2024-07-18:westus","gpt-4o-mini-2024-07-18:westus3","gpt-4o-mini-2024-07-18:eastus","gpt-4o-mini-2024-07-18:eastus2","gpt-4o-mini-2024-07-18:northcentralus","gpt-4o-mini-2024-07-18:southcentralus","gpt-4o-2024-05-13:eastus2","gpt-4o-2024-05-13:eastus","gpt-4o-2024-05-13:northcentralus","gpt-4o-2024-05-13:southcentralus","gpt-4o-2024-05-13:westus3","gpt-4o-2024-05-13:westus","gpt-4-turbo-2024-04-09:eastus2","gpt-4-0125-preview:eastus","gpt-4-0125-preview:northcentralus","gpt-4-0125-preview:southcentralus","gpt-4-1106-preview:australia","gpt-4-1106-preview:canadaeast","gpt-4-1106-preview:france","gpt-4-1106-preview:india","gpt-4-1106-preview:norway","gpt-4-1106-preview:swedencentral","gpt-4-1106-preview:uk","gpt-4-1106-preview:westus","gpt-4-1106-preview:westus3","gpt-4-0613:canadaeast","gpt-3.5-turbo-0125:canadaeast","gpt-3.5-turbo-0125:northcentralus","gpt-3.5-turbo-0125:southcentralus","gpt-3.5-turbo-1106:canadaeast","gpt-3.5-turbo-1106:westus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.0.model","typeLabel":"enum\u003cstring>"},"temperature":{"type":"number","description":"This is the temperature of the model.","minimum":0,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.0.temperature","typeLabel":"number"},"maxTokens":{"type":"number","description":"This is the max tokens of the model.","minimum":50,"maximum":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.0.maxTokens","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.0","typeLabel":"WorkflowOpenAIModel · object"},{"type":"object","title":"WorkflowAnthropicModel","description":"This is the model for the node.\n\nThis overrides `workflow.model`.","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the provider of the model (`anthropic`).","enum":["anthropic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.1.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the specific model that will be used.","maxLength":100,"enum":["claude-3-opus-20240229","claude-3-sonnet-20240229","claude-3-haiku-20240307","claude-3-5-sonnet-20240620","claude-3-5-sonnet-20241022","claude-3-5-haiku-20241022","claude-3-7-sonnet-20250219","claude-opus-4-20250514","claude-sonnet-4-20250514"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.1.model","typeLabel":"enum\u003cstring>"},"thinking":{"type":"object","description":"This is the optional configuration for Anthropic's thinking feature.\n\n- Only applicable for `claude-3-7-sonnet-20250219` model.\n- If provided, `maxTokens` must be greater than `thinking.budgetTokens`.","required":["type","budgetTokens"],"properties":{"type":{"type":"string","enum":["enabled"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.1.thinking.type","typeLabel":"enum\u003cstring>"},"budgetTokens":{"type":"number","description":"The maximum number of tokens to allocate for thinking.\nMust be between 1024 and 100000 tokens.","minimum":1024,"maximum":100000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.1.thinking.budgetTokens","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.1.thinking","typeLabel":"object"},"temperature":{"type":"number","description":"This is the temperature of the model.","minimum":0,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.1.temperature","typeLabel":"number"},"maxTokens":{"type":"number","description":"This is the max tokens of the model.","minimum":50,"maximum":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.1.maxTokens","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.1","typeLabel":"WorkflowAnthropicModel · object"},{"type":"object","title":"WorkflowGoogleModel","description":"This is the model for the node.\n\nThis overrides `workflow.model`.","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the provider of the model (`google`).","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.2.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b","maxLength":100,"enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.2.model","typeLabel":"enum\u003cstring>"},"temperature":{"type":"number","description":"This is the temperature of the model.","minimum":0,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.2.temperature","typeLabel":"number"},"maxTokens":{"type":"number","description":"This is the max tokens of the model.","minimum":50,"maximum":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.2.maxTokens","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.2","typeLabel":"WorkflowGoogleModel · object"},{"type":"object","title":"WorkflowCustomModel","description":"This is the model for the node.\n\nThis overrides `workflow.model`.","required":["provider","url","model"],"properties":{"provider":{"type":"string","description":"This is the provider of the model (`custom-llm`).","enum":["custom-llm"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.3.provider","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"These is the URL we'll use for the OpenAI client's `baseURL`. Ex. https://openrouter.ai/api/v1","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.3.url","typeLabel":"string"},"model":{"type":"string","description":"This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b","maxLength":100,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.3.model","typeLabel":"string"},"metadataSendMode":{"type":"string","description":"This determines whether metadata is sent in requests to the custom provider.\n\n- `off` will not send any metadata. payload will look like `{ messages }`\n- `variable` will send `assistant.metadata` as a variable on the payload. payload will look like `{ messages, metadata }`\n- `destructured` will send `assistant.metadata` fields directly on the payload. payload will look like `{ messages, ...metadata }`\n\nFurther, `variable` and `destructured` will send `call`, `phoneNumber`, and `customer` objects in the payload.\n\nDefault is `variable`.","enum":["off","variable","destructured"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.3.metadataSendMode","typeLabel":"enum\u003cstring>"},"timeoutSeconds":{"type":"number","description":"This sets the timeout for the connection to the custom provider without needing to stream any tokens back. Default is 20 seconds.","minimum":20,"maximum":600,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.3.timeoutSeconds","typeLabel":"number"},"temperature":{"type":"number","description":"This is the temperature of the model.","minimum":0,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.3.temperature","typeLabel":"number"},"maxTokens":{"type":"number","description":"This is the max tokens of the model.","minimum":50,"maximum":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.3.maxTokens","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.model.oneOf.3","typeLabel":"WorkflowCustomModel · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.model","typeLabel":"WorkflowOpenAIModel · object | WorkflowAnthropicModel · object | WorkflowGoogleModel · object | WorkflowCustomModel · object"},"transcriber":{"oneOf":[{"type":"object","title":"AssemblyAITranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.disablePartialTranscripts","typeLabel":"boolean"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.0","typeLabel":"AssemblyAITranscriber · object"},{"type":"object","title":"AzureSpeechTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.1","typeLabel":"AzureSpeechTranscriber · object"},{"type":"object","title":"CustomTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.server","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.2","typeLabel":"CustomTranscriber · object"},{"type":"object","title":"DeepgramTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.endpointing","typeLabel":"number"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.3","typeLabel":"DeepgramTranscriber · object"},{"type":"object","title":"ElevenLabsTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.4","typeLabel":"ElevenLabsTranscriber · object"},{"type":"object","title":"GladiaTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.confidenceThreshold","typeLabel":"number"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.5","typeLabel":"GladiaTranscriber · object"},{"type":"object","title":"GoogleTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.6","typeLabel":"GoogleTranscriber · object"},{"type":"object","title":"SpeechmaticsTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.7","typeLabel":"SpeechmaticsTranscriber · object"},{"type":"object","title":"TalkscriberTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.8","typeLabel":"TalkscriberTranscriber · object"},{"type":"object","title":"OpenAITranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.9","typeLabel":"OpenAITranscriber · object"},{"type":"object","title":"CartesiaTranscriber","description":"This is the transcriber for the node.\n\nThis overrides `workflow.transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber.oneOf.10","typeLabel":"CartesiaTranscriber · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.transcriber","typeLabel":"AssemblyAITranscriber · object | AzureSpeechTranscriber · object | CustomTranscriber · object | DeepgramTranscriber · object | ElevenLabsTranscriber · object | GladiaTranscriber · object | GoogleTranscriber · object | SpeechmaticsTranscriber · object | TalkscriberTranscriber · object | OpenAITranscriber · object | CartesiaTranscriber · object"},"voice":{"oneOf":[{"type":"object","title":"AzureVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.chunkPlan","typeLabel":"object"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.speed","typeLabel":"number"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.0","typeLabel":"AzureVoice · object"},{"type":"object","title":"CartesiaVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.1","typeLabel":"CartesiaVoice · object"},{"type":"object","title":"CustomVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.2","typeLabel":"CustomVoice · object"},{"type":"object","title":"DeepgramVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.3","typeLabel":"DeepgramVoice · object"},{"type":"object","title":"ElevenLabsVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.model","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.chunkPlan","typeLabel":"object"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.language","typeLabel":"string"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.4","typeLabel":"ElevenLabsVoice · object"},{"type":"object","title":"HumeVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.isCustomHumeVoice","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.chunkPlan","typeLabel":"object"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.description","typeLabel":"string"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.5","typeLabel":"HumeVoice · object"},{"type":"object","title":"LMNTVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.6","typeLabel":"LMNTVoice · object"},{"type":"object","title":"NeuphonicVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.7","typeLabel":"NeuphonicVoice · object"},{"type":"object","title":"OpenAIVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.8","typeLabel":"OpenAIVoice · object"},{"type":"object","title":"PlayHTVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.9","typeLabel":"PlayHTVoice · object"},{"type":"object","title":"RimeAIVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.10","typeLabel":"RimeAIVoice · object"},{"type":"object","title":"SmallestAIVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.11","typeLabel":"SmallestAIVoice · object"},{"type":"object","title":"TavusVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.chunkPlan","typeLabel":"object"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.properties","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"cozmoxVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.13","typeLabel":"cozmoxVoice · object"},{"type":"object","title":"SesameVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.14","typeLabel":"SesameVoice · object"},{"type":"object","title":"InworldVoice","description":"This is the voice for the node.\n\nThis overrides `workflow.voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice.oneOf.15","typeLabel":"InworldVoice · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.0.voice","typeLabel":"AzureVoice · object | CartesiaVoice · object | CustomVoice · object | DeepgramVoice · object | ElevenLabsVoice · object | HumeVoice · object | LMNTVoice · object | NeuphonicVoice · object | OpenAIVoice · object | PlayHTVoice · object | RimeAIVoice · object | SmallestAIVoice · object | TavusVoice · object | cozmoxVoice · object | SesameVoice · object | InworldVoice · object"},"prompt":{"type":"string","maxLength":5000,"uniqueKey":"nodes.items.[INDEX].oneOf.0.prompt","typeLabel":"string"},"globalNodePlan":{"type":"object","description":"This is the plan for the global node.","properties":{"enabled":{"type":"boolean","description":"This is the flag to determine if this node is a global node\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.0.globalNodePlan.enabled","typeLabel":"boolean"},"enterCondition":{"type":"string","description":"This is the condition that will be checked to determine if the global node should be executed.\n\n@default ''","maxLength":1000,"default":"","uniqueKey":"nodes.items.[INDEX].oneOf.0.globalNodePlan.enterCondition","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.globalNodePlan","typeLabel":"object"},"variableExtractionPlan":{"type":"object","description":"This is the plan that controls the variable extraction from the user's responses.\n\nUsage:\nUse `schema` to specify what you want to extract from the user's responses.\n```json\n{\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"user\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n }\n }\n }\n }\n }\n}\n```\n\nThis will be extracted as `{{ user.name }}` and `{{ user.age }}` respectively.\n\n(Optional) Use `aliases` to create new variables.\n\n```json\n{\n \"aliases\": [\n {\n \"key\": \"userAge\",\n \"value\": \"{{user.age}}\"\n },\n {\n \"key\": \"userName\",\n \"value\": \"{{user.name}}\"\n }\n ]\n}\n```\n\nThis will be extracted as `{{ userAge }}` and `{{ userName }}` respectively.\n\nNote: The `schema` field is required for Conversation nodes if you want to extract variables from the user's responses. `aliases` is just a convenience.","properties":{"schema":{"type":"object","description":"This is the schema to extract.\n\nExamples:\n1. To extract object properties, you can use the following schema:\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n }\n }\n}\n```\n\nThese will be extracted as `{{ name }}` and `{{ age }}` respectively. To emphasize, object properties are extracted as direct global variables.\n\n2. To extract nested properties, you can use the following schema:\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"object\",\n \"properties\": {\n \"first\": {\n \"type\": \"string\"\n },\n \"last\": {\n \"type\": \"string\"\n }\n }\n }\n }\n}\n```\n\nThese will be extracted as `{{ name }}`. And, `{{ name.first }}` and `{{ name.last }}` will be accessible.\n\n3. To extract array items, you can use the following schema:\n```json\n{\n \"type\": \"array\",\n \"title\": \"zipCodes\",\n \"items\": {\n \"type\": \"string\"\n }\n}\n```\n\nThis will be extracted as `{{ zipCodes }}`. To access the array items, you can use `{{ zipCodes[0] }}` and `{{ zipCodes[1] }}`.\n\n4. To extract array of objects, you can use the following schema:\n\n```json\n{\n \"type\": \"array\",\n \"name\": \"people\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n },\n \"zipCodes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n }\n}\n```\n\nThis will be extracted as `{{ people }}`. To access the array items, you can use `{{ people[n].name }}`, `{{ people[n].age }}`, `{{ people[n].zipCodes }}`, `{{ people[n].zipCodes[0] }}` and `{{ people[n].zipCodes[1] }}`.","required":["type"],"properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema.title","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.schema","typeLabel":"object"},"aliases":{"description":"These are additional variables to create.\n\nThese will be accessible during the call as `{{key}}` and stored in `call.artifact.variableValues` after the call.\n\nExample:\n```json\n{\n \"aliases\": [\n {\n \"key\": \"customerName\",\n \"value\": \"{{name}}\"\n },\n {\n \"key\": \"fullName\",\n \"value\": \"{{firstName}} {{lastName}}\"\n },\n {\n \"key\": \"greeting\",\n \"value\": \"Hello {{name}}, welcome to {{company}}!\"\n },\n {\n \"key\": \"customerEmail\",\n \"value\": \"{{addresses[0].city}}\"\n },\n {\n \"key\": \"something\",\n \"value\": \"{{any liquid}}\"\n }\n ]\n}\n```\n\nThis will create variables `customerName`, `fullName`, `customerEmail`, `greeting`, and `something`. To access these variables, you can reference them as `{{customerName}}`, `{{fullName}}`, `{{customerEmail}}`, `{{greeting}}`, and `{{something}}`.","type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"This is the key of the variable.\n\nThis variable will be accessible during the call as `{{key}}` and stored in `call.artifact.variableValues` after the call.\n\nRules:\n- Must start with a letter (a-z, A-Z).\n- Subsequent characters can be letters, numbers, or underscores.\n- Minimum length of 1 and maximum length of 40.","minLength":1,"maxLength":40,"pattern":"/^[a-zA-Z][a-zA-Z0-9_]*$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.aliases.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","description":"This is the value of the variable.\n\nThis can reference existing variables, use filters, and perform transformations.\n\nExamples: \"{{name}}\", \"{{customer.email}}\", \"Hello {{name | upcase}}\"","maxLength":10000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.aliases.items.[INDEX].value","typeLabel":"string"}},"required":["key","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.aliases.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan.aliases","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0.variableExtractionPlan","typeLabel":"object"},"isStart":{"type":"boolean","description":"This is whether or not the node is the start of the workflow.","uniqueKey":"nodes.items.[INDEX].oneOf.0.isStart","typeLabel":"boolean"},"metadata":{"type":"object","description":"This is for metadata you want to store on the task.","uniqueKey":"nodes.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.0","typeLabel":"ConversationNode · object"},{"type":"object","title":"ToolNode","required":["type","name"],"properties":{"type":{"type":"string","description":"This is the Tool node. This can be used to call a tool in your workflow.\n\nThe flow is:\n- Workflow starts the tool node\n- Model is called to extract parameters needed by the tool from the conversation history\n- Tool is called with the parameters\n- Server returns a response\n- Workflow continues with the response","enum":["tool"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.name","typeLabel":"string"},"tool":{"oneOf":[{"type":"object","title":"ApiRequestTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type","method","url"],"properties":{"type":{"type":"string","enum":["apiRequest"],"description":"The type of tool. \"apiRequest\" for API request tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.type","typeLabel":"enum\u003cstring>"},"method":{"type":"string","enum":["POST","GET"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.method","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"This is where the request will be sent.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.url","typeLabel":"string"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.timeoutSeconds","typeLabel":"number"},"name":{"type":"string","description":"This is the name of the tool. This will be passed to the model.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 40.","maxLength":40,"pattern":"/^[a-zA-Z0-9_-]{1,40}$/","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.name","typeLabel":"string"},"description":{"type":"string","description":"This is the description of the tool. This will be passed to the model.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.description","typeLabel":"string"},"body":{"type":"object","description":"This is the body of the request.","required":["type"],"properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body.title","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.body","typeLabel":"object"},"headers":{"type":"object","description":"These are the headers to send in the request.","required":["type"],"properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers.title","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.backoffPlan","typeLabel":"object"},"variableExtractionPlan":{"type":"object","description":"This is the plan to extract variables from the tool's response. These will be accessible during the call and stored in `call.artifact.variableValues` after the call.\n\nUsage:\n1. Use `aliases` to extract variables from the tool's response body. (Most common case)\n\n```json\n{\n \"aliases\": [\n {\n \"key\": \"customerName\",\n \"value\": \"{{customer.name}}\"\n },\n {\n \"key\": \"customerAge\",\n \"value\": \"{{customer.age}}\"\n }\n ]\n}\n```\n\nThe tool response body is made available to the liquid template.\n\n2. Use `aliases` to extract variables from the tool's response body if the response is an array.\n\n```json\n{\n \"aliases\": [\n {\n \"key\": \"customerName\",\n \"value\": \"{{$[0].name}}\"\n },\n {\n \"key\": \"customerAge\",\n \"value\": \"{{$[0].age}}\"\n }\n ]\n}\n```\n\n$ is a shorthand for the tool's response body. `$[0]` is the first item in the array. `$[n]` is the nth item in the array. Note, $ is available regardless of the response body type (both object and array).\n\n3. Use `aliases` to extract variables from the tool's response headers.\n\n```json\n{\n \"aliases\": [\n {\n \"key\": \"customerName\",\n \"value\": \"{{tool.response.headers.customer-name}}\"\n },\n {\n \"key\": \"customerAge\",\n \"value\": \"{{tool.response.headers.customer-age}}\"\n }\n ]\n}\n```\n\n`tool.response` is made available to the liquid template. Particularly, both `tool.response.headers` and `tool.response.body` are available. Note, `tool.response` is available regardless of the response body type (both object and array).\n\n4. Use `schema` to extract a large portion of the tool's response body.\n\n4.1. If you hit example.com and it returns `{\"name\": \"John\", \"age\": 30}`, then you can specify the schema as:\n\n```json\n{\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n }\n }\n }\n}\n```\n\n4.2. If you hit example.com and it returns `{\"name\": {\"first\": \"John\", \"last\": \"Doe\"}}`, then you can specify the schema as:\n\n```json\n{\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"object\",\n \"properties\": {\n \"first\": {\n \"type\": \"string\"\n },\n \"last\": {\n \"type\": \"string\"\n }\n }\n }\n }\n }\n}\n```\n\nThese will be extracted as `{{ name }}` and `{{ age }}` respectively. To emphasize, object properties are extracted as direct global variables.\n\n4.3. If you hit example.com and it returns `{\"name\": {\"first\": \"John\", \"last\": \"Doe\"}}`, then you can specify the schema as:\n\n```json\n{\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"object\",\n \"properties\": {\n \"first\": {\n \"type\": \"string\"\n },\n \"last\": {\n \"type\": \"string\"\n }\n }\n }\n }\n }\n}\n```\n\nThese will be extracted as `{{ name }}`. And, `{{ name.first }}` and `{{ name.last }}` will be accessible.\n\n4.4. If you hit example.com and it returns `[\"94123\", \"94124\"]`, then you can specify the schema as:\n\n```json\n{\n \"schema\": {\n \"type\": \"array\",\n \"title\": \"zipCodes\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n}\n```\n\nThis will be extracted as `{{ zipCodes }}`. To access the array items, you can use `{{ zipCodes[0] }}` and `{{ zipCodes[1] }}`.\n\n4.5. If you hit example.com and it returns `[{\"name\": \"John\", \"age\": 30, \"zipCodes\": [\"94123\", \"94124\"]}, {\"name\": \"Jane\", \"age\": 25, \"zipCodes\": [\"94125\", \"94126\"]}]`, then you can specify the schema as:\n\n```json\n{\n \"schema\": {\n \"type\": \"array\",\n \"title\": \"people\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n },\n \"zipCodes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n }\n }\n}\n```\n\nThis will be extracted as `{{ people }}`. To access the array items, you can use `{{ people[n].name }}`, `{{ people[n].age }}`, `{{ people[n].zipCodes }}`, `{{ people[n].zipCodes[0] }}` and `{{ people[n].zipCodes[1] }}`.\n\nNote: Both `aliases` and `schema` can be used together.","properties":{"schema":{"type":"object","description":"This is the schema to extract.\n\nExamples:\n1. To extract object properties, you can use the following schema:\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n }\n }\n}\n```\n\nThese will be extracted as `{{ name }}` and `{{ age }}` respectively. To emphasize, object properties are extracted as direct global variables.\n\n2. To extract nested properties, you can use the following schema:\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"object\",\n \"properties\": {\n \"first\": {\n \"type\": \"string\"\n },\n \"last\": {\n \"type\": \"string\"\n }\n }\n }\n }\n}\n```\n\nThese will be extracted as `{{ name }}`. And, `{{ name.first }}` and `{{ name.last }}` will be accessible.\n\n3. To extract array items, you can use the following schema:\n```json\n{\n \"type\": \"array\",\n \"title\": \"zipCodes\",\n \"items\": {\n \"type\": \"string\"\n }\n}\n```\n\nThis will be extracted as `{{ zipCodes }}`. To access the array items, you can use `{{ zipCodes[0] }}` and `{{ zipCodes[1] }}`.\n\n4. To extract array of objects, you can use the following schema:\n\n```json\n{\n \"type\": \"array\",\n \"name\": \"people\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n },\n \"zipCodes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n }\n}\n```\n\nThis will be extracted as `{{ people }}`. To access the array items, you can use `{{ people[n].name }}`, `{{ people[n].age }}`, `{{ people[n].zipCodes }}`, `{{ people[n].zipCodes[0] }}` and `{{ people[n].zipCodes[1] }}`.","required":["type"],"properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema.title","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.schema","typeLabel":"object"},"aliases":{"description":"These are additional variables to create.\n\nThese will be accessible during the call as `{{key}}` and stored in `call.artifact.variableValues` after the call.\n\nExample:\n```json\n{\n \"aliases\": [\n {\n \"key\": \"customerName\",\n \"value\": \"{{name}}\"\n },\n {\n \"key\": \"fullName\",\n \"value\": \"{{firstName}} {{lastName}}\"\n },\n {\n \"key\": \"greeting\",\n \"value\": \"Hello {{name}}, welcome to {{company}}!\"\n },\n {\n \"key\": \"customerEmail\",\n \"value\": \"{{addresses[0].city}}\"\n },\n {\n \"key\": \"something\",\n \"value\": \"{{any liquid}}\"\n }\n ]\n}\n```\n\nThis will create variables `customerName`, `fullName`, `customerEmail`, `greeting`, and `something`. To access these variables, you can reference them as `{{customerName}}`, `{{fullName}}`, `{{customerEmail}}`, `{{greeting}}`, and `{{something}}`.","type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"This is the key of the variable.\n\nThis variable will be accessible during the call as `{{key}}` and stored in `call.artifact.variableValues` after the call.\n\nRules:\n- Must start with a letter (a-z, A-Z).\n- Subsequent characters can be letters, numbers, or underscores.\n- Minimum length of 1 and maximum length of 40.","minLength":1,"maxLength":40,"pattern":"/^[a-zA-Z][a-zA-Z0-9_]*$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.aliases.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","description":"This is the value of the variable.\n\nThis can reference existing variables, use filters, and perform transformations.\n\nExamples: \"{{name}}\", \"{{customer.email}}\", \"Hello {{name | upcase}}\"","maxLength":10000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.aliases.items.[INDEX].value","typeLabel":"string"}},"required":["key","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.aliases.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan.aliases","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.variableExtractionPlan","typeLabel":"object"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.0","typeLabel":"ApiRequestTool · object"},{"type":"object","title":"BashTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type","subType","name"],"properties":{"type":{"type":"string","enum":["bash"],"description":"The type of tool. \"bash\" for Bash tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.type","typeLabel":"enum\u003cstring>"},"subType":{"type":"string","enum":["bash_20241022"],"description":"The sub type of tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.subType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the tool, fixed to 'bash'","default":"bash","enum":["bash"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.name","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"server":{"type":"object","description":"\n This is the server where a `tool-calls` webhook will be sent.\n\n Notes:\n - Webhook is sent to this server when a tool call is made.\n - Webhook contains the call, assistant, and phone number objects.\n - Webhook contains the variables set on the assistant.\n - Webhook is sent to the first available URL in this order: {{tool.server.url}}, {{assistant.server.url}}, {{phoneNumber.server.url}}, {{org.server.url}}.\n - Webhook expects a response with tool call result.","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.server.backoffPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.server","typeLabel":"object"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.1","typeLabel":"BashTool · object"},{"type":"object","title":"ComputerTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type","subType","name","displayWidthPx","displayHeightPx"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of tool. \"computer\" for Computer tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.type","typeLabel":"enum\u003cstring>"},"subType":{"type":"string","enum":["computer_20241022"],"description":"The sub type of tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.subType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the tool, fixed to 'computer'","default":"computer","enum":["computer"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.name","typeLabel":"enum\u003cstring>"},"displayWidthPx":{"type":"number","description":"The display width in pixels","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.displayWidthPx","typeLabel":"number"},"displayHeightPx":{"type":"number","description":"The display height in pixels","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.displayHeightPx","typeLabel":"number"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"server":{"type":"object","description":"\n This is the server where a `tool-calls` webhook will be sent.\n\n Notes:\n - Webhook is sent to this server when a tool call is made.\n - Webhook contains the call, assistant, and phone number objects.\n - Webhook contains the variables set on the assistant.\n - Webhook is sent to the first available URL in this order: {{tool.server.url}}, {{assistant.server.url}}, {{phoneNumber.server.url}}, {{org.server.url}}.\n - Webhook expects a response with tool call result.","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.server.backoffPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.server","typeLabel":"object"},"displayNumber":{"type":"number","description":"Optional display number","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.displayNumber","typeLabel":"number"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.2","typeLabel":"ComputerTool · object"},{"type":"object","title":"DtmfTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["dtmf"],"description":"The type of tool. \"dtmf\" for DTMF tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.3","typeLabel":"DtmfTool · object"},{"type":"object","title":"EndCallTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["endCall"],"description":"The type of tool. \"endCall\" for End Call tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.4","typeLabel":"EndCallTool · object"},{"type":"object","title":"FunctionTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of tool. \"function\" for Function tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"async":{"type":"boolean","example":false,"description":"This determines if the tool is async.\n\n If async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.\n\n If sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.\n\n Defaults to synchronous (`false`).","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.async","typeLabel":"boolean"},"server":{"type":"object","description":"\n This is the server where a `tool-calls` webhook will be sent.\n\n Notes:\n - Webhook is sent to this server when a tool call is made.\n - Webhook contains the call, assistant, and phone number objects.\n - Webhook contains the variables set on the assistant.\n - Webhook is sent to the first available URL in this order: {{tool.server.url}}, {{assistant.server.url}}, {{phoneNumber.server.url}}, {{org.server.url}}.\n - Webhook expects a response with tool call result.","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.server.backoffPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.server","typeLabel":"object"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.5","typeLabel":"FunctionTool · object"},{"type":"object","title":"GoHighLevelCalendarAvailabilityTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["gohighlevel.calendar.availability.check"],"description":"The type of tool. \"gohighlevel.calendar.availability.check\" for GoHighLevel Calendar availability check tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.6","typeLabel":"GoHighLevelCalendarAvailabilityTool · object"},{"type":"object","title":"GoHighLevelCalendarEventCreateTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["gohighlevel.calendar.event.create"],"description":"The type of tool. \"gohighlevel.calendar.event.create\" for GoHighLevel Calendar event create tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.7","typeLabel":"GoHighLevelCalendarEventCreateTool · object"},{"type":"object","title":"GoHighLevelContactCreateTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["gohighlevel.contact.create"],"description":"The type of tool. \"gohighlevel.contact.create\" for GoHighLevel contact create tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.8","typeLabel":"GoHighLevelContactCreateTool · object"},{"type":"object","title":"GoHighLevelContactGetTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["gohighlevel.contact.get"],"description":"The type of tool. \"gohighlevel.contact.get\" for GoHighLevel contact get tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.9","typeLabel":"GoHighLevelContactGetTool · object"},{"type":"object","title":"GoogleCalendarCheckAvailabilityTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["google.calendar.availability.check"],"description":"The type of tool. \"google.calendar.availability.check\" for Google Calendar availability check tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.10","typeLabel":"GoogleCalendarCheckAvailabilityTool · object"},{"type":"object","title":"GoogleCalendarCreateEventTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["google.calendar.event.create"],"description":"The type of tool. \"google.calendar.event.create\" for Google Calendar tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.11","typeLabel":"GoogleCalendarCreateEventTool · object"},{"type":"object","title":"GoogleSheetsRowAppendTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["google.sheets.row.append"],"description":"The type of tool. \"google.sheets.row.append\" for Google Sheets tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.12","typeLabel":"GoogleSheetsRowAppendTool · object"},{"type":"object","title":"McpTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"The type of tool. \"mcp\" for MCP tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"server":{"type":"object","description":"\n This is the server where a `tool-calls` webhook will be sent.\n\n Notes:\n - Webhook is sent to this server when a tool call is made.\n - Webhook contains the call, assistant, and phone number objects.\n - Webhook contains the variables set on the assistant.\n - Webhook is sent to the first available URL in this order: {{tool.server.url}}, {{assistant.server.url}}, {{phoneNumber.server.url}}, {{org.server.url}}.\n - Webhook expects a response with tool call result.","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.server.backoffPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.server","typeLabel":"object"},"metadata":{"type":"object","properties":{"protocol":{"type":"string","enum":["sse","shttp"],"description":"This is the protocol used for MCP communication. Defaults to Streamable HTTP.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.metadata.protocol","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.metadata","typeLabel":"object"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.13","typeLabel":"McpTool · object"},{"type":"object","title":"QueryTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["query"],"description":"The type of tool. \"query\" for Query tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"knowledgeBases":{"description":"The knowledge bases to query","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the knowledge base","example":"My Knowledge Base","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.knowledgeBases.items.[INDEX].name","typeLabel":"string"},"provider":{"type":"string","description":"The provider of the knowledge base","enum":["google"],"example":"google","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.knowledgeBases.items.[INDEX].provider","typeLabel":"enum\u003cstring>"},"description":{"type":"string","description":"A description of the knowledge base","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.knowledgeBases.items.[INDEX].description","typeLabel":"string"},"fileIds":{"description":"The file IDs associated with this knowledge base","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.knowledgeBases.items.[INDEX].fileIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.knowledgeBases.items.[INDEX].fileIds","typeLabel":"string[]"},"model":{"type":"string","description":"The model to use for the knowledge base","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.knowledgeBases.items.[INDEX].model","typeLabel":"enum\u003cstring>"}},"required":["name","provider","description","fileIds"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.knowledgeBases.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.knowledgeBases","typeLabel":"object[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.14","typeLabel":"QueryTool · object"},{"type":"object","title":"SlackSendMessageTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["slack.message.send"],"description":"The type of tool. \"slack.message.send\" for Slack send message tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.15","typeLabel":"SlackSendMessageTool · object"},{"type":"object","title":"SmsTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["sms"],"description":"The type of tool. \"sms\" for Twilio SMS sending tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.16","typeLabel":"SmsTool · object"},{"type":"object","title":"TextEditorTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type","subType","name"],"properties":{"type":{"type":"string","enum":["textEditor"],"description":"The type of tool. \"textEditor\" for Text Editor tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.type","typeLabel":"enum\u003cstring>"},"subType":{"type":"string","enum":["text_editor_20241022"],"description":"The sub type of tool.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.subType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the tool, fixed to 'str_replace_editor'","default":"str_replace_editor","enum":["str_replace_editor"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.name","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"server":{"type":"object","description":"\n This is the server where a `tool-calls` webhook will be sent.\n\n Notes:\n - Webhook is sent to this server when a tool call is made.\n - Webhook contains the call, assistant, and phone number objects.\n - Webhook contains the variables set on the assistant.\n - Webhook is sent to the first available URL in this order: {{tool.server.url}}, {{assistant.server.url}}, {{phoneNumber.server.url}}, {{org.server.url}}.\n - Webhook expects a response with tool call result.","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.server.backoffPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.server","typeLabel":"object"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.17","typeLabel":"TextEditorTool · object"},{"type":"object","title":"TransferCallTool","description":"This is the tool to call. To use an existing tool, send `toolId` instead.","required":["type"],"properties":{"type":{"type":"string","enum":["transferCall"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.type","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.","items":{"oneOf":[{"type":"object","title":"ToolMessageStart","required":["type"],"properties":{"type":{"type":"string","enum":["request-start"],"description":"This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.contents","typeLabel":"Text · object[]"},"blocking":{"type":"boolean","description":"This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false","example":false,"default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.blocking","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.0","typeLabel":"ToolMessageStart · object"},{"type":"object","title":"ToolMessageComplete","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is complete.\n\nThis message is triggered immediately without waiting for your server to respond for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-complete"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.contents","typeLabel":"Text · object[]"},"role":{"type":"string","description":"This is optional and defaults to \"assistant\".\n\nWhen role=assistant, `content` is said out loud.\n\nWhen role=system, `content` is passed to the model in a system message. Example:\n system: default one\n assistant:\n user:\n assistant:\n user:\n assistant:\n user:\n assistant: tool called\n tool: your server response\n \u003c--- system prompt as hint\n ---> model generates response which is spoken\nThis is useful when you want to provide a hint to the model about what to say next.","enum":["assistant","system"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\nThis is ignored if `role` is set to `system`.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.1","typeLabel":"ToolMessageComplete · object"},{"type":"object","title":"ToolMessageFailed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call fails.\n\nThis message is never triggered for async tool calls.\n\nIf this message is not provided, the model will be requested to respond.\n\nIf this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.","enum":["request-failed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.contents","typeLabel":"Text · object[]"},"endCallAfterSpokenEnabled":{"type":"boolean","description":"This is an optional boolean that if true, the call will end after the message is spoken. Default is false.\n\n@default false","example":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.endCallAfterSpokenEnabled","typeLabel":"boolean"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.2","typeLabel":"ToolMessageFailed · object"},{"type":"object","title":"ToolMessageDelayed","required":["type"],"properties":{"type":{"type":"string","description":"This message is triggered when the tool call is delayed.\n\nThere are the two things that can trigger this message:\n1. The user talks with the assistant while your server is processing the request. Default is \"Sorry, a few more seconds.\"\n2. The server doesn't respond within `timingMilliseconds`.\n\nThis message is never triggered for async tool calls.","enum":["request-response-delayed"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.contents","typeLabel":"Text · object[]"},"timingMilliseconds":{"type":"number","minimum":100,"maximum":120000,"example":1000,"description":"The number of milliseconds to wait for the server response before saying this message.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.timingMilliseconds","typeLabel":"number"},"content":{"type":"string","description":"This is the content that the assistant says when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"conditions":{"description":"This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.","type":"array","items":{"type":"object","properties":{"operator":{"type":"string","description":"This is the operator you want to use to compare the parameter and value.","enum":["eq","neq","gt","gte","lt","lte"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"This is the name of the parameter that you want to check.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].param","typeLabel":"string"},"value":{"type":"string","description":"This is the value you want to compare against the parameter.","maxLength":1000,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX].value","typeLabel":"string"}},"required":["operator","param","value"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3.conditions","typeLabel":"object[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX].oneOf.3","typeLabel":"ToolMessageDelayed · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages.items.[INDEX]","typeLabel":"ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.messages","typeLabel":"(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[]"},"destinations":{"type":"array","description":"These are the destinations that the call can be transferred to. If no destinations are provided, server.url will be used to get the transfer destination once the tool is called.","items":{"oneOf":[{"type":"object","title":"Assistant","required":["type","assistantName"],"properties":{"type":{"type":"string","enum":["assistant"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"assistantName":{"type":"string","description":"This is the assistant to transfer the call to.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.assistantName","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"This is spoken to the customer before connecting them to the destination.\n\nUsage:\n- If this is not provided and transfer tool messages is not provided, default is \"Transferring the call now\".\n- If set to \"\", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant.\n\nThis accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.0","typeLabel":"string"},{"type":"object","description":"This is spoken to the customer before connecting them to the destination.\n\nUsage:\n- If this is not provided and transfer tool messages is not provided, default is \"Transferring the call now\".\n- If set to \"\", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant.\n\nThis accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.","required":["type"],"properties":{"type":{"type":"string","description":"This is a custom message.","enum":["custom-message"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.1.contents","typeLabel":"Text · object[]"},"content":{"type":"string","description":"This is the content that the assistant will say when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.1.content","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message.oneOf.1","typeLabel":"object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.message","typeLabel":"string | object"},"transferMode":{"type":"string","description":"This is the mode to use for the transfer. Defaults to `rolling-history`.\n\n- `rolling-history`: This is the default mode. It keeps the entire conversation history and appends the new assistant's system message on transfer.\n\n Example:\n\n Pre-transfer:\n system: assistant1 system message\n assistant: assistant1 first message\n user: hey, good morning\n assistant: how can i help?\n user: i need help with my account\n assistant: (destination.message)\n\n Post-transfer:\n system: assistant1 system message\n assistant: assistant1 first message\n user: hey, good morning\n assistant: how can i help?\n user: i need help with my account\n assistant: (destination.message)\n system: assistant2 system message\n assistant: assistant2 first message (or model generated if firstMessageMode is set to `assistant-speaks-first-with-model-generated-message`)\n\n- `swap-system-message-in-history`: This replaces the original system message with the new assistant's system message on transfer.\n\n Example:\n\n Pre-transfer:\n system: assistant1 system message\n assistant: assistant1 first message\n user: hey, good morning\n assistant: how can i help?\n user: i need help with my account\n assistant: (destination.message)\n\n Post-transfer:\n system: assistant2 system message\n assistant: assistant1 first message\n user: hey, good morning\n assistant: how can i help?\n user: i need help with my account\n assistant: (destination.message)\n assistant: assistant2 first message (or model generated if firstMessageMode is set to `assistant-speaks-first-with-model-generated-message`)\n\n- `delete-history`: This deletes the entire conversation history on transfer.\n\n Example:\n\n Pre-transfer:\n system: assistant1 system message\n assistant: assistant1 first message\n user: hey, good morning\n assistant: how can i help?\n user: i need help with my account\n assistant: (destination.message)\n\n Post-transfer:\n system: assistant2 system message\n assistant: assistant2 first message\n user: Yes, please\n assistant: how can i help?\n user: i need help with my account\n\n- `swap-system-message-in-history-and-remove-transfer-tool-messages`: This replaces the original system message with the new assistant's system message on transfer and removes transfer tool messages from conversation history sent to the LLM.\n\n Example:\n\n Pre-transfer:\n system: assistant1 system message\n assistant: assistant1 first message\n user: hey, good morning\n assistant: how can i help?\n user: i need help with my account\n transfer-tool\n transfer-tool-result\n assistant: (destination.message)\n\n Post-transfer:\n system: assistant2 system message\n assistant: assistant1 first message\n user: hey, good morning\n assistant: how can i help?\n user: i need help with my account\n assistant: (destination.message)\n assistant: assistant2 first message (or model generated if firstMessageMode is set to `assistant-speaks-first-with-model-generated-message`)\n\n@default 'rolling-history'","enum":["rolling-history","swap-system-message-in-history","swap-system-message-in-history-and-remove-transfer-tool-messages","delete-history"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.transferMode","typeLabel":"enum\u003cstring>"},"description":{"type":"string","description":"This is the description of the destination, used by the AI to choose when and how to transfer the call.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0.description","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.0","typeLabel":"Assistant · object"},{"type":"object","title":"Number","required":["type","number"],"properties":{"type":{"type":"string","enum":["number"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"number":{"type":"string","description":"This is the phone number to transfer the call to.","minLength":3,"maxLength":40,"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.number","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"This is spoken to the customer before connecting them to the destination.\n\nUsage:\n- If this is not provided and transfer tool messages is not provided, default is \"Transferring the call now\".\n- If set to \"\", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant.\n\nThis accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.0","typeLabel":"string"},{"type":"object","description":"This is spoken to the customer before connecting them to the destination.\n\nUsage:\n- If this is not provided and transfer tool messages is not provided, default is \"Transferring the call now\".\n- If set to \"\", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant.\n\nThis accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.","required":["type"],"properties":{"type":{"type":"string","description":"This is a custom message.","enum":["custom-message"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.1.contents","typeLabel":"Text · object[]"},"content":{"type":"string","description":"This is the content that the assistant will say when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.1.content","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message.oneOf.1","typeLabel":"object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.message","typeLabel":"string | object"},"numberE164CheckEnabled":{"type":"boolean","description":"This is the flag to toggle the E164 check for the `number` field. This is an advanced property which should be used if you know your use case requires it.\n\nUse cases:\n- `false`: To allow non-E164 numbers like `+001234567890`, `1234`, or `abc`. This is useful for dialing out to non-E164 numbers on your SIP trunks.\n- `true` (default): To allow only E164 numbers like `+14155551234`. This is standard for PSTN calls.\n\nIf `false`, the `number` is still required to only contain alphanumeric characters (regex: `/^\\+?[a-zA-Z0-9]+$/`).\n\n@default true (E164 check is enabled)","default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.numberE164CheckEnabled","typeLabel":"boolean"},"extension":{"type":"string","description":"This is the extension to dial after transferring the call to the `number`.","minLength":1,"maxLength":10,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.extension","typeLabel":"string"},"callerId":{"type":"string","description":"This is the caller ID to use when transferring the call to the `number`.\n\nUsage:\n- If not provided, the caller ID will be the number the call is coming from. Example, +14151111111 calls in to and the assistant transfers out to +16470000000. +16470000000 will see +14151111111 as the caller.\n- To change this behavior, provide a `callerId`.\n- Set to '{{customer.number}}' to always use the customer's number as the caller ID.\n- Set to '{{phoneNumber.number}}' to always use the phone number of the assistant as the caller ID.\n- Set to any E164 number to always use that number as the caller ID. This needs to be a number that is owned or verified by your Transport provider like Twilio.\n\nFor Twilio, you can read up more here: https://www.twilio.com/docs/voice/twiml/dial#callerid","maxLength":40,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.callerId","typeLabel":"string"},"transferPlan":{"type":"object","description":"This configures how transfer is executed and the experience of the destination party receiving the call. Defaults to `blind-transfer`.\n\n@default `transferPlan.mode='blind-transfer'`","required":["mode"],"properties":{"mode":{"type":"string","description":"This configures how transfer is executed and the experience of the destination party receiving the call.\n\nUsage:\n- `blind-transfer`: The assistant forwards the call to the destination without any message or summary.\n- `blind-transfer-add-summary-to-sip-header`: The assistant forwards the call to the destination and adds a SIP header X-Transfer-Summary to the call to include the summary.\n- `warm-transfer-say-message`: The assistant dials the destination, delivers the `message` to the destination party, connects the customer, and leaves the call.\n- `warm-transfer-say-summary`: The assistant dials the destination, provides a summary of the call to the destination party, connects the customer, and leaves the call.\n- `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`: The assistant dials the destination, waits for the operator to speak, delivers the `message` to the destination party, and then connects the customer.\n- `warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary`: The assistant dials the destination, waits for the operator to speak, provides a summary of the call to the destination party, and then connects the customer.\n- `warm-transfer-twiml`: The assistant dials the destination, executes the twiml instructions on the destination call leg, connects the customer, and leaves the call.\n- `warm-transfer-experimental`: The assistant puts the customer on hold, dials the destination, and if the destination answers (and is human), delivers a message or summary before connecting the customer. If the destination is unreachable or not human (e.g., with voicemail detection), the assistant delivers the `fallbackMessage` to the customer and optionally ends the call.\n\n@default 'blind-transfer'","enum":["blind-transfer","blind-transfer-add-summary-to-sip-header","warm-transfer-say-message","warm-transfer-say-summary","warm-transfer-twiml","warm-transfer-wait-for-operator-to-speak-first-and-then-say-message","warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary","warm-transfer-experimental"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.mode","typeLabel":"enum\u003cstring>"},"message":{"oneOf":[{"type":"string","description":"This is the message the assistant will deliver to the destination party before connecting the customer.\n\nUsage:\n- Used only when `mode` is `blind-transfer-add-summary-to-sip-header`, `warm-transfer-say-message`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`, or `warm-transfer-experimental`.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.0","typeLabel":"string"},{"type":"object","description":"This is the message the assistant will deliver to the destination party before connecting the customer.\n\nUsage:\n- Used only when `mode` is `blind-transfer-add-summary-to-sip-header`, `warm-transfer-say-message`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`, or `warm-transfer-experimental`.","required":["type"],"properties":{"type":{"type":"string","description":"This is a custom message.","enum":["custom-message"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.1.contents","typeLabel":"Text · object[]"},"content":{"type":"string","description":"This is the content that the assistant will say when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.1.content","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message.oneOf.1","typeLabel":"object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.message","typeLabel":"string | object"},"timeout":{"type":"number","description":"This is the timeout in seconds for the warm-transfer-wait-for-operator-to-speak-first-and-then-say-message/summary\n\n@default 60","minimum":1,"maximum":600,"default":60,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.timeout","typeLabel":"number"},"sipVerb":{"type":"object","description":"This specifies the SIP verb to use while transferring the call.\n- 'refer': Uses SIP REFER to transfer the call (default)\n- 'bye': Ends current call with SIP BYE\n- 'dial': Uses SIP DIAL to transfer the call","default":"refer","enum":["refer","bye","dial"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.sipVerb","typeLabel":"object"},"holdAudioUrl":{"type":"string","description":"This is the URL to an audio file played while the customer is on hold during transfer.\n\nUsage:\n- Used only when `mode` is `warm-transfer-experimental`.\n- Used when transferring calls to play hold audio for the customer.\n- Must be a publicly accessible URL to an audio file.\n- Supported formats: MP3 and WAV.\n- If not provided, the default hold audio will be used.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.holdAudioUrl","typeLabel":"string"},"transferCompleteAudioUrl":{"type":"string","description":"This is the URL to an audio file played after the warm transfer message or summary is delivered to the destination party.\nIt can be used to play a custom sound like 'beep' to notify that the transfer is complete.\n\nUsage:\n- Used only when `mode` is `warm-transfer-experimental`.\n- Used when transferring calls to play hold audio for the destination party.\n- Must be a publicly accessible URL to an audio file.\n- Supported formats: MP3 and WAV.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.transferCompleteAudioUrl","typeLabel":"string"},"twiml":{"type":"string","description":"This is the TwiML instructions to execute on the destination call leg before connecting the customer.\n\nUsage:\n- Used only when `mode` is `warm-transfer-twiml`.\n- Supports only `Play`, `Say`, `Gather`, `Hangup` and `Pause` verbs.\n- Maximum length is 4096 characters.\n\nExample:\n```\n\u003cSay voice=\"alice\" language=\"en-US\">Hello, transferring a customer to you.\u003c/Say>\n\u003cPause length=\"2\"/>\n\u003cSay>They called about billing questions.\u003c/Say>\n```","maxLength":4096,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.twiml","typeLabel":"string"},"summaryPlan":{"type":"object","description":"This is the plan for generating a summary of the call to present to the destination party.\n\nUsage:\n- Used only when `mode` is `blind-transfer-add-summary-to-sip-header` or `warm-transfer-say-summary` or `warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary` or `warm-transfer-experimental`.","properties":{"messages":{"description":"These are the messages used to generate the summary.\n\n@default: ```\n[\n {\n \"role\": \"system\",\n \"content\": \"You are an expert note-taker. You will be given a transcript of a call. Summarize the call in 2-3 sentences. DO NOT return anything except the summary.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Here is the transcript:\\n\\n{{transcript}}\\n\\n. Here is the ended reason of the call:\\n\\n{{endedReason}}\\n\\n\"\n }\n]```\n\nYou can customize by providing any messages you want.\n\nHere are the template variables available:\n- {{transcript}}: The transcript of the call from `call.artifact.transcript` \n- {{systemPrompt}}: The system prompt of the call from `assistant.model.messages[type=system].content` \n- {{endedReason}}: The ended reason of the call from `call.endedReason`","type":"array","items":{"type":"object","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.summaryPlan.messages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.summaryPlan.messages","typeLabel":"object[]"},"enabled":{"type":"boolean","description":"This determines whether a summary is generated and stored in `call.analysis.summary`. Defaults to true.\n\nUsage:\n- If you want to disable the summary, set this to false.\n\n@default true","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.summaryPlan.enabled","typeLabel":"boolean"},"timeoutSeconds":{"type":"number","description":"This is how long the request is tried before giving up. When request times out, `call.analysis.summary` will be empty.\n\nUsage:\n- To guarantee the summary is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond.\n\n@default 5 seconds","minimum":1,"maximum":60,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.summaryPlan.timeoutSeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.summaryPlan","typeLabel":"object"},"sipHeadersInReferToEnabled":{"type":"boolean","description":"This flag includes the sipHeaders from above in the refer to sip uri as url encoded query params.\n\n@default false","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.sipHeadersInReferToEnabled","typeLabel":"boolean"},"fallbackPlan":{"type":"object","description":"This configures the fallback plan when the transfer fails (destination unreachable, busy, or not human).\n\nUsage:\n- Used only when `mode` is `warm-transfer-experimental`.\n- If not provided when using `warm-transfer-experimental`, a default message will be used.","required":["message"],"properties":{"message":{"oneOf":[{"type":"string","description":"This is the message the assistant will deliver to the customer if the transfer fails.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.0","typeLabel":"string"},{"type":"object","description":"This is the message the assistant will deliver to the customer if the transfer fails.","required":["type"],"properties":{"type":{"type":"string","description":"This is a custom message.","enum":["custom-message"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.1.contents","typeLabel":"Text · object[]"},"content":{"type":"string","description":"This is the content that the assistant will say when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.1.content","typeLabel":"string"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.message","typeLabel":"string | object"},"endCallEnabled":{"type":"boolean","description":"This controls what happens after delivering the failure message to the customer.\n- true: End the call after delivering the failure message (default)\n- false: Keep the assistant on the call to continue handling the customer's request\n\n@default true","default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan.endCallEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.transferPlan","typeLabel":"object"},"description":{"type":"string","description":"This is the description of the destination, used by the AI to choose when and how to transfer the call.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1.description","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.1","typeLabel":"Number · object"},{"type":"object","title":"Sip","required":["type","sipUri"],"properties":{"type":{"type":"string","enum":["sip"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"sipUri":{"type":"string","description":"This is the SIP URI to transfer the call to.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.sipUri","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"This is spoken to the customer before connecting them to the destination.\n\nUsage:\n- If this is not provided and transfer tool messages is not provided, default is \"Transferring the call now\".\n- If set to \"\", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant.\n\nThis accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.0","typeLabel":"string"},{"type":"object","description":"This is spoken to the customer before connecting them to the destination.\n\nUsage:\n- If this is not provided and transfer tool messages is not provided, default is \"Transferring the call now\".\n- If set to \"\", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant.\n\nThis accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.","required":["type"],"properties":{"type":{"type":"string","description":"This is a custom message.","enum":["custom-message"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.1.contents","typeLabel":"Text · object[]"},"content":{"type":"string","description":"This is the content that the assistant will say when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.1.content","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message.oneOf.1","typeLabel":"object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.message","typeLabel":"string | object"},"transferPlan":{"type":"object","description":"This configures how transfer is executed and the experience of the destination party receiving the call. Defaults to `blind-transfer`.\n\n@default `transferPlan.mode='blind-transfer'`","required":["mode"],"properties":{"mode":{"type":"string","description":"This configures how transfer is executed and the experience of the destination party receiving the call.\n\nUsage:\n- `blind-transfer`: The assistant forwards the call to the destination without any message or summary.\n- `blind-transfer-add-summary-to-sip-header`: The assistant forwards the call to the destination and adds a SIP header X-Transfer-Summary to the call to include the summary.\n- `warm-transfer-say-message`: The assistant dials the destination, delivers the `message` to the destination party, connects the customer, and leaves the call.\n- `warm-transfer-say-summary`: The assistant dials the destination, provides a summary of the call to the destination party, connects the customer, and leaves the call.\n- `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`: The assistant dials the destination, waits for the operator to speak, delivers the `message` to the destination party, and then connects the customer.\n- `warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary`: The assistant dials the destination, waits for the operator to speak, provides a summary of the call to the destination party, and then connects the customer.\n- `warm-transfer-twiml`: The assistant dials the destination, executes the twiml instructions on the destination call leg, connects the customer, and leaves the call.\n- `warm-transfer-experimental`: The assistant puts the customer on hold, dials the destination, and if the destination answers (and is human), delivers a message or summary before connecting the customer. If the destination is unreachable or not human (e.g., with voicemail detection), the assistant delivers the `fallbackMessage` to the customer and optionally ends the call.\n\n@default 'blind-transfer'","enum":["blind-transfer","blind-transfer-add-summary-to-sip-header","warm-transfer-say-message","warm-transfer-say-summary","warm-transfer-twiml","warm-transfer-wait-for-operator-to-speak-first-and-then-say-message","warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary","warm-transfer-experimental"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.mode","typeLabel":"enum\u003cstring>"},"message":{"oneOf":[{"type":"string","description":"This is the message the assistant will deliver to the destination party before connecting the customer.\n\nUsage:\n- Used only when `mode` is `blind-transfer-add-summary-to-sip-header`, `warm-transfer-say-message`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`, or `warm-transfer-experimental`.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.0","typeLabel":"string"},{"type":"object","description":"This is the message the assistant will deliver to the destination party before connecting the customer.\n\nUsage:\n- Used only when `mode` is `blind-transfer-add-summary-to-sip-header`, `warm-transfer-say-message`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`, or `warm-transfer-experimental`.","required":["type"],"properties":{"type":{"type":"string","description":"This is a custom message.","enum":["custom-message"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.1.contents","typeLabel":"Text · object[]"},"content":{"type":"string","description":"This is the content that the assistant will say when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.1.content","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message.oneOf.1","typeLabel":"object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.message","typeLabel":"string | object"},"timeout":{"type":"number","description":"This is the timeout in seconds for the warm-transfer-wait-for-operator-to-speak-first-and-then-say-message/summary\n\n@default 60","minimum":1,"maximum":600,"default":60,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.timeout","typeLabel":"number"},"sipVerb":{"type":"object","description":"This specifies the SIP verb to use while transferring the call.\n- 'refer': Uses SIP REFER to transfer the call (default)\n- 'bye': Ends current call with SIP BYE\n- 'dial': Uses SIP DIAL to transfer the call","default":"refer","enum":["refer","bye","dial"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.sipVerb","typeLabel":"object"},"holdAudioUrl":{"type":"string","description":"This is the URL to an audio file played while the customer is on hold during transfer.\n\nUsage:\n- Used only when `mode` is `warm-transfer-experimental`.\n- Used when transferring calls to play hold audio for the customer.\n- Must be a publicly accessible URL to an audio file.\n- Supported formats: MP3 and WAV.\n- If not provided, the default hold audio will be used.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.holdAudioUrl","typeLabel":"string"},"transferCompleteAudioUrl":{"type":"string","description":"This is the URL to an audio file played after the warm transfer message or summary is delivered to the destination party.\nIt can be used to play a custom sound like 'beep' to notify that the transfer is complete.\n\nUsage:\n- Used only when `mode` is `warm-transfer-experimental`.\n- Used when transferring calls to play hold audio for the destination party.\n- Must be a publicly accessible URL to an audio file.\n- Supported formats: MP3 and WAV.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.transferCompleteAudioUrl","typeLabel":"string"},"twiml":{"type":"string","description":"This is the TwiML instructions to execute on the destination call leg before connecting the customer.\n\nUsage:\n- Used only when `mode` is `warm-transfer-twiml`.\n- Supports only `Play`, `Say`, `Gather`, `Hangup` and `Pause` verbs.\n- Maximum length is 4096 characters.\n\nExample:\n```\n\u003cSay voice=\"alice\" language=\"en-US\">Hello, transferring a customer to you.\u003c/Say>\n\u003cPause length=\"2\"/>\n\u003cSay>They called about billing questions.\u003c/Say>\n```","maxLength":4096,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.twiml","typeLabel":"string"},"summaryPlan":{"type":"object","description":"This is the plan for generating a summary of the call to present to the destination party.\n\nUsage:\n- Used only when `mode` is `blind-transfer-add-summary-to-sip-header` or `warm-transfer-say-summary` or `warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary` or `warm-transfer-experimental`.","properties":{"messages":{"description":"These are the messages used to generate the summary.\n\n@default: ```\n[\n {\n \"role\": \"system\",\n \"content\": \"You are an expert note-taker. You will be given a transcript of a call. Summarize the call in 2-3 sentences. DO NOT return anything except the summary.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Here is the transcript:\\n\\n{{transcript}}\\n\\n. Here is the ended reason of the call:\\n\\n{{endedReason}}\\n\\n\"\n }\n]```\n\nYou can customize by providing any messages you want.\n\nHere are the template variables available:\n- {{transcript}}: The transcript of the call from `call.artifact.transcript` \n- {{systemPrompt}}: The system prompt of the call from `assistant.model.messages[type=system].content` \n- {{endedReason}}: The ended reason of the call from `call.endedReason`","type":"array","items":{"type":"object","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.summaryPlan.messages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.summaryPlan.messages","typeLabel":"object[]"},"enabled":{"type":"boolean","description":"This determines whether a summary is generated and stored in `call.analysis.summary`. Defaults to true.\n\nUsage:\n- If you want to disable the summary, set this to false.\n\n@default true","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.summaryPlan.enabled","typeLabel":"boolean"},"timeoutSeconds":{"type":"number","description":"This is how long the request is tried before giving up. When request times out, `call.analysis.summary` will be empty.\n\nUsage:\n- To guarantee the summary is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond.\n\n@default 5 seconds","minimum":1,"maximum":60,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.summaryPlan.timeoutSeconds","typeLabel":"number"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.summaryPlan","typeLabel":"object"},"sipHeadersInReferToEnabled":{"type":"boolean","description":"This flag includes the sipHeaders from above in the refer to sip uri as url encoded query params.\n\n@default false","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.sipHeadersInReferToEnabled","typeLabel":"boolean"},"fallbackPlan":{"type":"object","description":"This configures the fallback plan when the transfer fails (destination unreachable, busy, or not human).\n\nUsage:\n- Used only when `mode` is `warm-transfer-experimental`.\n- If not provided when using `warm-transfer-experimental`, a default message will be used.","required":["message"],"properties":{"message":{"oneOf":[{"type":"string","description":"This is the message the assistant will deliver to the customer if the transfer fails.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.0","typeLabel":"string"},{"type":"object","description":"This is the message the assistant will deliver to the customer if the transfer fails.","required":["type"],"properties":{"type":{"type":"string","description":"This is a custom message.","enum":["custom-message"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.1.type","typeLabel":"enum\u003cstring>"},"contents":{"type":"array","description":"This is an alternative to the `content` property. It allows to specify variants of the same content, one per language.\n\nUsage:\n- If your assistants are multilingual, you can provide content for each language.\n- If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment.\n\nThis will override the `content` property.","items":{"type":"object","title":"Text","required":["type","text","language"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.1.contents.items.[INDEX].language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.1.contents.items.[INDEX]","typeLabel":"Text · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.1.contents","typeLabel":"Text · object[]"},"content":{"type":"string","description":"This is the content that the assistant will say when this message is triggered.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.1.content","typeLabel":"string"}},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.message","typeLabel":"string | object"},"endCallEnabled":{"type":"boolean","description":"This controls what happens after delivering the failure message to the customer.\n- true: End the call after delivering the failure message (default)\n- false: Keep the assistant on the call to continue handling the customer's request\n\n@default true","default":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan.endCallEnabled","typeLabel":"boolean"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan.fallbackPlan","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.transferPlan","typeLabel":"object"},"sipHeaders":{"type":"object","description":"These are custom headers to be added to SIP refer during transfer call.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.sipHeaders","typeLabel":"object"},"description":{"type":"string","description":"This is the description of the destination, used by the AI to choose when and how to transfer the call.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2.description","typeLabel":"string"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX].oneOf.2","typeLabel":"Sip · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations.items.[INDEX]","typeLabel":"Assistant · object | Number · object | Sip · object"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.destinations","typeLabel":"(Assistant · object | Number · object | Sip · object)[]"},"function":{"type":"object","description":"This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.","required":["name"],"properties":{"name":{"type":"string","description":"This is the the name of the function to be called.\n\nMust be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","maxLength":64,"pattern":"/^[a-zA-Z0-9_-]{1,64}$/","isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.name","typeLabel":"string"},"strict":{"type":"boolean","description":"This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/).\n\n@default false","default":false,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.strict","typeLabel":"boolean"},"description":{"type":"string","description":"This is the description of what the function does, used by the AI to choose when and how to call the function.","maxLength":1000,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"These are the parameters the functions accepts, described as a JSON Schema object.\n\nSee the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format.\n\nOmitting parameters defines a function with an empty parameter list.","required":["type","properties"],"properties":{"type":{"type":"string","description":"This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.","enum":["object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.type","typeLabel":"enum\u003cstring>"},"properties":{"type":"object","description":"This provides a description of the properties required by the function.\nJSON Schema can be used to specify expectations for each property.\nRefer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties.title","typeLabel":"string"}},"required":["type"],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.properties","typeLabel":"object"},"required":{"description":"This specifies the properties that are required by the function.","type":"array","items":{"type":"string","uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters.required","typeLabel":"string[]"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function.parameters","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18.function","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool.oneOf.18","typeLabel":"TransferCallTool · object"}],"uniqueKey":"nodes.items.[INDEX].oneOf.1.tool","typeLabel":"ApiRequestTool · object | BashTool · object | ComputerTool · object | DtmfTool · object | EndCallTool · object | FunctionTool · object | GoHighLevelCalendarAvailabilityTool · object | GoHighLevelCalendarEventCreateTool · object | GoHighLevelContactCreateTool · object | GoHighLevelContactGetTool · object | GoogleCalendarCheckAvailabilityTool · object | GoogleCalendarCreateEventTool · object | GoogleSheetsRowAppendTool · object | McpTool · object | QueryTool · object | SlackSendMessageTool · object | SmsTool · object | TextEditorTool · object | TransferCallTool · object"},"toolId":{"type":"string","description":"This is the tool to call. To use a transient tool, send `tool` instead.","uniqueKey":"nodes.items.[INDEX].oneOf.1.toolId","typeLabel":"string"},"isStart":{"type":"boolean","description":"This is whether or not the node is the start of the workflow.","uniqueKey":"nodes.items.[INDEX].oneOf.1.isStart","typeLabel":"boolean"},"metadata":{"type":"object","description":"This is for metadata you want to store on the task.","uniqueKey":"nodes.items.[INDEX].oneOf.1.metadata","typeLabel":"object"}},"uniqueKey":"nodes.items.[INDEX].oneOf.1","typeLabel":"ToolNode · object"}],"uniqueKey":"nodes.items.[INDEX]","typeLabel":"ConversationNode · object | ToolNode · object"},"isRequired":true,"uniqueKey":"nodes","typeLabel":"(ConversationNode · object | ToolNode · object)[]"},"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"orgId":{"type":"string","isRequired":true,"uniqueKey":"orgId","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"name":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"edges":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"edges.items.[INDEX].from","typeLabel":"string"},"to":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"edges.items.[INDEX].to","typeLabel":"string"},"condition":{"type":"object","title":"AIEdgeCondition","required":["type","prompt"],"properties":{"type":{"type":"string","enum":["ai"],"isRequired":true,"uniqueKey":"edges.items.[INDEX].condition.type","typeLabel":"enum\u003cstring>"},"prompt":{"type":"string","description":"This is the prompt for the AI edge condition. It should evaluate to a boolean.","maxLength":1000,"isRequired":true,"uniqueKey":"edges.items.[INDEX].condition.prompt","typeLabel":"string"}},"uniqueKey":"edges.items.[INDEX].condition","typeLabel":"AIEdgeCondition · object"},"metadata":{"type":"object","description":"This is for metadata you want to store on the edge.","uniqueKey":"edges.items.[INDEX].metadata","typeLabel":"object"}},"required":["from","to"],"uniqueKey":"edges.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"edges","typeLabel":"object[]"},"transcriber":{"oneOf":[{"type":"object","title":"AssemblyAITranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.0.disablePartialTranscripts","typeLabel":"boolean"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.0.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.0.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.0","typeLabel":"AssemblyAITranscriber · object"},{"type":"object","title":"AzureSpeechTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.1.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.1.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.1.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.1","typeLabel":"AzureSpeechTranscriber · object"},{"type":"object","title":"CustomTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.2.server","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.2.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.2.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.2","typeLabel":"CustomTranscriber · object"},{"type":"object","title":"DeepgramTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.3.endpointing","typeLabel":"number"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.3.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.3.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.3","typeLabel":"DeepgramTranscriber · object"},{"type":"object","title":"ElevenLabsTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.4.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.4.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.4.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.4","typeLabel":"ElevenLabsTranscriber · object"},{"type":"object","title":"GladiaTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.5.confidenceThreshold","typeLabel":"number"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.5.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.5.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.5","typeLabel":"GladiaTranscriber · object"},{"type":"object","title":"GoogleTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.6.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.6.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.6.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.6","typeLabel":"GoogleTranscriber · object"},{"type":"object","title":"SpeechmaticsTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.7.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.7.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.7.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.7","typeLabel":"SpeechmaticsTranscriber · object"},{"type":"object","title":"TalkscriberTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.8.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.8.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.8.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.8","typeLabel":"TalkscriberTranscriber · object"},{"type":"object","title":"OpenAITranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.9.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.9.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.9.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.9","typeLabel":"OpenAITranscriber · object"},{"type":"object","title":"CartesiaTranscriber","description":"This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.10.language","typeLabel":"enum\u003cstring>"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["transcribers"],"properties":{"transcribers":{"type":"array","items":{"oneOf":[{"type":"object","title":"AssemblyAI","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["en"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.language","typeLabel":"enum\u003cstring>"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.confidenceThreshold","typeLabel":"number"},"enableUniversalStreamingApi":{"type":"boolean","description":"Uses Assembly AI's new Universal Streaming API. See: https://www.assemblyai.com/docs/speech-to-text/universal-streaming\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.enableUniversalStreamingApi","typeLabel":"boolean"},"formatTurns":{"type":"boolean","description":"This enables formatting of transcripts. Only used when `enableUniversalStreamingApi` is true.\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.formatTurns","typeLabel":"boolean"},"endOfTurnConfidenceThreshold":{"type":"number","description":"The confidence threshold to use when determining if the end of a turn has been reached. Only used when `enableUniversalStreamingApi` is true.\n\n@default 0.7","minimum":0,"maximum":1,"example":0.7,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endOfTurnConfidenceThreshold","typeLabel":"number"},"minEndOfTurnSilenceWhenConfident":{"type":"number","description":"The minimum amount of silence in milliseconds required to detect end of turn when confident. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.minEndOfTurnSilenceWhenConfident","typeLabel":"number"},"wordFinalizationMaxWaitTime":{"type":"number","description":"The maximum wait time for word finalization. Only used when `enableUniversalStreamingApi` is true.\n\n@default 160","minimum":0,"example":160,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordFinalizationMaxWaitTime","typeLabel":"number"},"maxTurnSilence":{"type":"number","description":"The maximum amount of silence in milliseconds allowed in a turn before end of turn is triggered. Only used when `enableUniversalStreamingApi` is true.\n\n@default 400","minimum":0,"example":400,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.maxTurnSilence","typeLabel":"number"},"realtimeUrl":{"type":"string","description":"The WebSocket URL that the transcriber connects to.","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.realtimeUrl","typeLabel":"string"},"wordBoost":{"description":"Add up to 2500 characters of custom vocabulary.","type":"array","items":{"type":"string","maxLength":2500,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.wordBoost","typeLabel":"string[]"},"endUtteranceSilenceThreshold":{"type":"number","description":"The duration of the end utterance silence threshold in milliseconds.","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.endUtteranceSilenceThreshold","typeLabel":"number"},"disablePartialTranscripts":{"type":"boolean","description":"Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`.","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0.disablePartialTranscripts","typeLabel":"boolean"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.0","typeLabel":"AssemblyAI · object"},{"type":"object","title":"Azure","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt","enum":["af-ZA","am-ET","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IL","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-PS","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE","az-AZ","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","cy-GB","da-DK","de-AT","de-CH","de-DE","el-GR","en-AU","en-CA","en-GB","en-GH","en-HK","en-IE","en-IN","en-KE","en-NG","en-NZ","en-PH","en-SG","en-TZ","en-US","en-ZA","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-ES","es-GQ","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et-EE","eu-ES","fa-IR","fi-FI","fil-PH","fr-BE","fr-CA","fr-CH","fr-FR","ga-IE","gl-ES","gu-IN","he-IL","hi-IN","hr-HR","hu-HU","hy-AM","id-ID","is-IS","it-CH","it-IT","ja-JP","jv-ID","ka-GE","kk-KZ","km-KH","kn-IN","ko-KR","lo-LA","lt-LT","lv-LV","mk-MK","ml-IN","mn-MN","mr-IN","ms-MY","mt-MT","my-MM","nb-NO","ne-NP","nl-BE","nl-NL","pa-IN","pl-PL","ps-AF","pt-BR","pt-PT","ro-RO","ru-RU","si-LK","sk-SK","sl-SI","so-SO","sq-AL","sr-RS","sv-SE","sw-KE","sw-TZ","ta-IN","te-IN","th-TH","tr-TR","uk-UA","ur-IN","uz-UZ","vi-VN","wuu-CN","yue-CN","zh-CN","zh-CN-shandong","zh-CN-sichuan","zh-HK","zh-TW","zu-ZA"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.1","typeLabel":"Azure · object"},{"type":"object","title":"Custom","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.","enum":["custom-transcriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the transcription request will be sent.\n\nUsage:\n1. cozmox will initiate a websocket connection with `server.url`.\n\n2. cozmox will send an initial text frame with the sample rate. Format:\n```\n {\n \"type\": \"start\",\n \"encoding\": \"linear16\", // 16-bit raw PCM format\n \"container\": \"raw\",\n \"sampleRate\": {{sampleRate}},\n \"channels\": 2 // customer is channel 0, assistant is channel 1\n }\n```\n\n3. cozmox will send the audio data in 16-bit raw PCM format as binary frames.\n\n4. You can read the messages something like this:\n```\nws.on('message', (data, isBinary) => {\n if (isBinary) {\n pcmBuffer = Buffer.concat([pcmBuffer, data]);\n console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`);\n } else {\n console.log('Received message:', JSON.parse(data.toString()));\n }\n});\n```\n\n5. You will respond with transcriptions as you have them. Format:\n```\n {\n \"type\": \"transcriber-response\",\n \"transcription\": \"Hello, world!\",\n \"channel\": \"customer\" | \"assistant\"\n }\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2.server","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.2","typeLabel":"Custom · object"},{"type":"object","title":"Deepgram","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["nova-3","nova-3-general","nova-3-medical","nova-2","nova-2-general","nova-2-meeting","nova-2-phonecall","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","nova","nova-general","nova-phonecall","nova-medical","enhanced","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","base-general","base-meeting","base-phonecall","base-finance","base-conversationalai","base-voicemail","base-video","whisper"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model.oneOf.1","typeLabel":"string"}],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.model","typeLabel":"enum\u003cstring> | string"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview","enum":["ar","az","ba","bg","br","ca","cs","da","da-DK","de","de-CH","el","en","en-AU","en-GB","en-IN","en-NZ","en-US","es","es-419","es-LATAM","et","eu","fi","fr","fr-CA","ha","haw","he","hi","hi-Latn","hu","id","is","it","ja","jw","kn","ko","ko-KR","ln","lt","lv","mk","ms","multi","nl","nl-BE","no","pl","pt","pt-BR","ro","ru","sk","sl","sn","so","sr","su","sv","sv-SE","ta","taq","th","th-TH","tr","tt","uk","ur","vi","yo","zh","zh-CN","zh-HK","zh-Hans","zh-Hant","zh-TW"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.language","typeLabel":"enum\u003cstring>"},"smartFormat":{"type":"boolean","description":"This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.","example":false,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.smartFormat","typeLabel":"boolean"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.mipOptOut","typeLabel":"boolean"},"numerals":{"type":"boolean","description":"If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, \"my phone number is nine-seven-two...\" would become \"my phone number is 972...\"\n\n@default false","example":false,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.numerals","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.confidenceThreshold","typeLabel":"number"},"keywords":{"description":"These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.","type":"array","items":{"type":"string","pattern":"/^\\p{L}[\\p{L}\\d]*(?::[+-]?\\d+)?$/u","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keywords","typeLabel":"string[]"},"keyterm":{"description":"Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.","type":"array","items":{"type":"string","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.keyterm","typeLabel":"string[]"},"endpointing":{"type":"number","description":"This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing.\n\nHere are the most important bits:\n- Defaults to 10. This is recommended for most use cases to optimize for latency.\n- 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better.\n- If neither 10 nor 300 work, contact support@cozmox.ai and we'll find another solution.\n\n@default 10","minimum":10,"maximum":500,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3.endpointing","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.3","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["scribe_v1"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.4.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.4","typeLabel":"ElevenLabs · object"},{"type":"object","title":"Gladia","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["gladia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the Gladia model that will be used. Default is 'fast'","enum":["fast","accurate","solaria-1"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"languageBehaviour":{"type":"string","description":"Defines how the transcription model detects the audio language. Default value is 'automatic single language'.","enum":["manual","automatic single language","automatic multiple languages"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languageBehaviour","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.language","typeLabel":"enum\u003cstring>"},"languages":{"type":"string","description":"Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.","enum":["af","sq","am","ar","hy","as","az","ba","eu","be","bn","bs","br","bg","ca","zh","hr","cs","da","nl","en","et","fo","fi","fr","gl","ka","de","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jv","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","my","ne","no","nn","oc","ps","fa","pl","pt","pa","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","su","sw","sv","tl","tg","ta","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.languages","typeLabel":"enum\u003cstring>"},"transcriptionHint":{"type":"string","description":"Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored.\n⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.","maxLength":600,"example":"custom vocabulary","uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.transcriptionHint","typeLabel":"string"},"prosody":{"type":"boolean","description":"If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.prosody","typeLabel":"boolean"},"audioEnhancer":{"type":"boolean","description":"If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.","example":false,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.audioEnhancer","typeLabel":"boolean"},"confidenceThreshold":{"type":"number","description":"Transcripts below this confidence threshold will be discarded.\n\n@default 0.4","minimum":0,"maximum":1,"example":0.4,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5.confidenceThreshold","typeLabel":"number"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.5","typeLabel":"Gladia · object"},{"type":"object","title":"Google","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["google"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gemini-2.5-pro","gemini-2.5-flash","gemini-2.5-flash-lite","gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-05-20","gemini-2.5-flash-preview-04-17","gemini-2.0-flash-thinking-exp","gemini-2.0-pro-exp-02-05","gemini-2.0-flash","gemini-2.0-flash-lite","gemini-2.0-flash-lite-preview-02-05","gemini-2.0-flash-exp","gemini-2.0-flash-realtime-exp","gemini-1.5-flash","gemini-1.5-flash-002","gemini-1.5-pro","gemini-1.5-pro-002","gemini-1.0-pro"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.6.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["Multilingual","Arabic","Bengali","Bulgarian","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Finnish","French","German","Greek","Hebrew","Hindi","Hungarian","Indonesian","Italian","Japanese","Korean","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovak","Slovenian","Spanish","Swahili","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.6.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.6","typeLabel":"Google · object"},{"type":"object","title":"Talkscriber","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["talkscriber"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["whisper"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.7.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py","enum":["en","zh","de","es","ru","ko","fr","ja","pt","tr","pl","ca","nl","ar","sv","it","id","hi","fi","vi","he","uk","el","ms","cs","ro","da","hu","ta","no","th","ur","hr","bg","lt","la","mi","ml","cy","sk","te","fa","lv","bn","sr","az","sl","kn","et","mk","br","eu","is","hy","ne","mn","bs","kk","sq","sw","gl","mr","pa","si","km","sn","yo","so","af","oc","ka","be","tg","sd","gu","am","yi","lo","uz","fo","ht","ps","tk","nn","mt","sa","lb","my","bo","tl","mg","as","tt","haw","ln","ha","ba","jw","su","yue"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.7","typeLabel":"Talkscriber · object"},{"type":"object","title":"Speechmatics","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["speechmatics"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["default"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["auto","ar","ba","eu","be","bn","bg","yue","ca","hr","cs","da","nl","en","eo","et","fi","fr","gl","de","el","he","hi","hu","id","ia","ga","it","ja","ko","lv","lt","ms","mt","cmn","mr","mn","no","fa","pl","pt","ro","ru","sk","sl","es","sw","sv","ta","th","tr","uk","ur","ug","vi","cy"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.8.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.8","typeLabel":"Speechmatics · object"},{"type":"object","title":"OpenAI","required":["provider","model"],"properties":{"provider":{"type":"string","description":"This is the transcription provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"This is the model that will be used for the transcription.","enum":["gpt-4o-transcribe","gpt-4o-mini-transcribe"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be set for the transcription.","enum":["af","ar","hy","az","be","bs","bg","ca","zh","hr","cs","da","nl","en","et","fi","fr","gl","de","el","he","hi","hu","is","id","it","ja","kn","kk","ko","lv","lt","mk","ms","mr","mi","ne","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","tl","ta","th","tr","uk","ur","vi","cy"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.9","typeLabel":"OpenAI · object"},{"type":"object","title":"Cartesia","required":["provider"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","enum":["ink-whisper"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.10.language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX].oneOf.10","typeLabel":"Cartesia · object"}],"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers.items.[INDEX]","typeLabel":"AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object"},"isRequired":true,"uniqueKey":"transcriber.oneOf.10.fallbackPlan.transcribers","typeLabel":"(AssemblyAI · object | Azure · object | Custom · object | Deepgram · object | ElevenLabs · object | Gladia · object | Google · object | Talkscriber · object | Speechmatics · object | OpenAI · object | Cartesia · object)[]"}},"uniqueKey":"transcriber.oneOf.10.fallbackPlan","typeLabel":"object"}},"uniqueKey":"transcriber.oneOf.10","typeLabel":"CartesiaTranscriber · object"}],"uniqueKey":"transcriber","typeLabel":"AssemblyAITranscriber · object | AzureSpeechTranscriber · object | CustomTranscriber · object | DeepgramTranscriber · object | ElevenLabsTranscriber · object | GladiaTranscriber · object | GoogleTranscriber · object | SpeechmaticsTranscriber · object | TalkscriberTranscriber · object | OpenAITranscriber · object | CartesiaTranscriber · object"},"voice":{"oneOf":[{"type":"object","title":"AzureVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.chunkPlan","typeLabel":"object"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.0.speed","typeLabel":"number"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.0.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.0.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.0.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.0","typeLabel":"AzureVoice · object"},{"type":"object","title":"CartesiaVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.1.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.1.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.1.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.1","typeLabel":"CartesiaVoice · object"},{"type":"object","title":"CustomVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.2.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.2.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.2.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.2.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.2.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.2","typeLabel":"CustomVoice · object"},{"type":"object","title":"DeepgramVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.3.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.3.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.3.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.3.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.3.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.3.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.3.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.3","typeLabel":"DeepgramVoice · object"},{"type":"object","title":"ElevenLabsVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.4.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.4.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.4.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.4.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.4.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.4.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.4.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.4.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.4.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.4.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.4.model","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.chunkPlan","typeLabel":"object"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.4.language","typeLabel":"string"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.4.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.4.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.4.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.4","typeLabel":"ElevenLabsVoice · object"},{"type":"object","title":"HumeVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.5.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.5.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.5.isCustomHumeVoice","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.chunkPlan","typeLabel":"object"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.5.description","typeLabel":"string"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.5.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.5.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.5.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.5","typeLabel":"HumeVoice · object"},{"type":"object","title":"LMNTVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.6.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.6.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.6.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.6.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.6.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.6.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.6.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.6.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.6.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.6","typeLabel":"LMNTVoice · object"},{"type":"object","title":"NeuphonicVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.7.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.7.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.7.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.7.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.7.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.7.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.7","typeLabel":"NeuphonicVoice · object"},{"type":"object","title":"OpenAIVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.8.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.8.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.8.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.8","typeLabel":"OpenAIVoice · object"},{"type":"object","title":"PlayHTVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.9.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.9.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.9.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.9","typeLabel":"PlayHTVoice · object"},{"type":"object","title":"RimeAIVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.10.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.10.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.10.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.10","typeLabel":"RimeAIVoice · object"},{"type":"object","title":"SmallestAIVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.11.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.11.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.11.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.11","typeLabel":"SmallestAIVoice · object"},{"type":"object","title":"TavusVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.chunkPlan","typeLabel":"object"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.12.properties","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.12.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.12.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.12.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"cozmoxVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.13.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.13.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.13.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.13.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.13","typeLabel":"cozmoxVoice · object"},{"type":"object","title":"SesameVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.14.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.14.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.14.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.14","typeLabel":"SesameVoice · object"},{"type":"object","title":"InworldVoice","description":"This is the voice for the workflow.\n\nThis can be overridden at node level using `nodes[n].voice`.","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.chunkPlan","typeLabel":"object"},"fallbackPlan":{"type":"object","description":"This is the plan for voice provider fallbacks in the event that the primary voice provider fails.","required":["voices"],"properties":{"voices":{"type":"array","description":"This is the list of voices to fallback to in the event that the primary voice provider fails.","items":{"oneOf":[{"type":"object","title":"Azure","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["azure"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["andrew","brian","emma"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Azure Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.5,"maximum":2,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.0","typeLabel":"Azure · object"},{"type":"object","title":"Cartesia","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cartesia"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. This is optional and will default to the correct model for the voiceId.","enum":["sonic-2","sonic-english","sonic-multilingual","sonic-preview","sonic"],"example":"sonic-english","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language that will be used. This is optional and will default to the correct language for the voiceId.","enum":["en","de","es","fr","ja","pt","zh","hi","it","ko","nl","pl","ru","sv","tr"],"example":"en","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.language","typeLabel":"enum\u003cstring>"},"experimentalControls":{"type":"object","description":"Experimental controls for Cartesia voice generation","properties":{"speed":{"oneOf":[{"type":"string","enum":["slowest","slow","normal","fast","fastest"],"example":"normal","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","maximum":1,"minimum":-1,"example":0.5,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed.oneOf.1","typeLabel":"number"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.speed","typeLabel":"enum\u003cstring> | number"},"emotion":{"type":"string","enum":["anger:lowest","anger:low","anger:high","anger:highest","positivity:lowest","positivity:low","positivity:high","positivity:highest","surprise:lowest","surprise:low","surprise:high","surprise:highest","sadness:lowest","sadness:low","sadness:high","sadness:highest","curiosity:lowest","curiosity:low","curiosity:high","curiosity:highest"],"example":["happiness:high"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.experimentalControls","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.1","typeLabel":"Cartesia · object"},{"type":"object","title":"Hume","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["hume"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The ID of the particular voice you want to use.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.voiceId","typeLabel":"string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["octave"],"example":"octave","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.model","typeLabel":"enum\u003cstring>"},"isCustomHumeVoice":{"type":"boolean","description":"Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.","example":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.isCustomHumeVoice","typeLabel":"boolean"},"description":{"type":"string","description":"Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent').\n\nIf a Voice is specified in the request, this description serves as acting instructions.\nIf no Voice is specified, a new voice is generated based on this description.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.description","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.2","typeLabel":"Hume · object"},{"type":"object","title":"CustomVoice","required":["provider","server"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.","enum":["custom-voice"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the voice request will be sent.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"voice-request\",\n \"text\": \"Hello, world!\",\n \"sampleRate\": 24000,\n ...other metadata about the call...\n }\n}\n\nResponse Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport:\n```\nresponse.on('data', (chunk: Buffer) => {\n outputStream.write(chunk);\n});\n```","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server.backoffPlan","typeLabel":"object"}},"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.server","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.3","typeLabel":"CustomVoice · object"},{"type":"object","title":"Deepgram","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["deepgram"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","enum":["asteria","luna","stella","athena","hera","orion","arcas","perseus","angus","orpheus","helios","zeus","thalia","andromeda","helena","apollo","arcas","aries","amalthea","asteria","athena","atlas","aurora","callista","cora","cordelia","delia","draco","electra","harmonia","hera","hermes","hyperion","iris","janus","juno","jupiter","luna","mars","minerva","neptune","odysseus","ophelia","orion","orpheus","pandora","phoebe","pluto","saturn","selene","theia","vesta","zeus"],"title":"This is the Deepgram Voice ID","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'aura-2' when not specified.","enum":["aura","aura-2"],"example":"aura-2","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.model","typeLabel":"enum\u003cstring>"},"mipOptOut":{"type":"boolean","description":"If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out\n\nThis will only be used if you are using your own Deepgram API key.\n\n@default false","example":false,"default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.mipOptOut","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.4","typeLabel":"Deepgram · object"},{"type":"object","title":"ElevenLabs","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["11labs"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","enum":["burt","marissa","andrea","sarah","phillip","steve","joseph","myra","paula","ryan","drew","paul","mrb","matilda","mark"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"11Labs Voice ID","description":"This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.cachingEnabled","typeLabel":"boolean"},"stability":{"type":"number","description":"Defines the stability for voice settings.","minimum":0,"maximum":1,"example":0.5,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Defines the similarity boost for voice settings.","minimum":0,"maximum":1,"example":0.75,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Defines the style for voice settings.","minimum":0,"maximum":1,"example":0,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Defines the use speaker boost for voice settings.","example":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Defines the speed for voice settings.","minimum":0.7,"maximum":1.2,"example":0.9,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.speed","typeLabel":"number"},"optimizeStreamingLatency":{"type":"number","description":"Defines the optimize streaming latency for voice settings. Defaults to 3.","minimum":0,"maximum":4,"example":3,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.optimizeStreamingLatency","typeLabel":"number"},"enableSsmlParsing":{"type":"boolean","description":"This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false","example":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.enableSsmlParsing","typeLabel":"boolean"},"autoMode":{"type":"boolean","description":"Defines the auto mode for voice settings. Defaults to false.","example":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.autoMode","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.","enum":["eleven_multilingual_v2","eleven_turbo_v2","eleven_turbo_v2_5","eleven_flash_v2","eleven_flash_v2_5","eleven_monolingual_v1"],"example":"eleven_turbo_v2_5","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.language","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.5","typeLabel":"ElevenLabs · object"},{"type":"object","title":"cozmox","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["cozmox"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"The voices provided by cozmox","enum":["Elliot","Kylie","Rohan","Lily","Savannah","Hana","Neha","Cole","Harry","Paige","Spencer"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.\n\n@default 1","minimum":0.25,"maximum":2,"default":1,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.6","typeLabel":"cozmox · object"},{"type":"object","title":"LMNT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["lmnt"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["amy","ansel","autumn","ava","brandon","caleb","cassian","chloe","dalton","daniel","dustin","elowen","evander","huxley","james","juniper","kennedy","lauren","leah","lily","lucas","magnus","miles","morgan","natalie","nathan","noah","nyssa","oliver","paige","ryan","sadie","sophie","stella","terrence","tyler","vesper","violet","warrick","zain","zeke","zoe"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"LMNT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.speed","typeLabel":"number"},"language":{"oneOf":[{"type":"string","title":"ISO 639-1 Language Code","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yue","yo","za","zh","zu"],"example":"en","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Auto-detect","description":"Two letter ISO 639-1 language code. Use \"auto\" for auto-detection.","enum":["auto"],"example":"en","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.language.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.7","typeLabel":"LMNT · object"},{"type":"object","title":"OpenAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["openai"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","enum":["alloy","echo","fable","onyx","nova","shimmer"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"OpenAI Voice ID","description":"This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with realtime models.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used for text-to-speech.","enum":["tts-1","tts-1-hd","gpt-4o-mini-tts"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.model","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"This is a prompt that allows you to control the voice of your generated audio.\nDoes not work with 'tts-1' or 'tts-1-hd' models.","maxLength":10000,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.instructions","typeLabel":"string"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":4,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.8","typeLabel":"OpenAI · object"},{"type":"object","title":"PlayHT","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["playht"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["jennifer","melissa","will","chris","matt","jack","ruby","davis","donna","michael"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"PlayHT Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.cachingEnabled","typeLabel":"boolean"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"maximum":5,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.speed","typeLabel":"number"},"temperature":{"type":"number","description":"A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.","minimum":0.1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.temperature","typeLabel":"number"},"emotion":{"type":"string","description":"An emotion to be applied to the speech.","enum":["female_happy","female_sad","female_angry","female_fearful","female_disgust","female_surprised","male_happy","male_sad","male_angry","male_fearful","male_disgust","male_surprised"],"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.emotion","typeLabel":"enum\u003cstring>"},"voiceGuidance":{"type":"number","description":"A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.","minimum":1,"maximum":6,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.voiceGuidance","typeLabel":"number"},"styleGuidance":{"type":"number","description":"A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.","minimum":1,"maximum":30,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.styleGuidance","typeLabel":"number"},"textGuidance":{"type":"number","description":"A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.","minimum":1,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.textGuidance","typeLabel":"number"},"model":{"type":"string","description":"Playht voice model/engine to use.","enum":["PlayHT2.0","PlayHT2.0-turbo","Play3.0-mini","PlayDialog"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.model","typeLabel":"enum\u003cstring>"},"language":{"type":"string","description":"The language to use for the speech.","enum":["afrikaans","albanian","amharic","arabic","bengali","bulgarian","catalan","croatian","czech","danish","dutch","english","french","galician","german","greek","hebrew","hindi","hungarian","indonesian","italian","japanese","korean","malay","mandarin","polish","portuguese","russian","serbian","spanish","swedish","tagalog","thai","turkish","ukrainian","urdu","xhosa"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.language","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.9","typeLabel":"PlayHT · object"},{"type":"object","title":"RimeAI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["rime-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["abbie","allison","ally","alona","amber","ana","antoine","armon","brenda","brittany","carol","colin","courtney","elena","elliot","eva","geoff","gerald","hank","helen","hera","jen","joe","joy","juan","kendra","kendrick","kenneth","kevin","kris","linda","madison","marge","marina","marissa","marta","maya","nicholas","nyles","phil","reba","rex","rick","ritu","rob","rodney","rohan","rosco","samantha","sandy","selena","seth","sharon","stan","tamra","tanya","tibur","tj","tyler","viv","yadira","marsh","bayou","creek","brook","flower","spore","glacier","gulch","alpine","cove","lagoon","tundra","steppe","mesa","grove","rainforest","moraine","wildflower","peak","boulder","gypsum","zest","luna","celeste","orion","ursa","astra","esther","estelle","andromeda"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"RimeAI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'mistv2' when not specified.","enum":["mist","mistv2","arcana"],"example":"mistv2","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.1,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.speed","typeLabel":"number"},"pauseBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. \u003c200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.","example":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.pauseBetweenBrackets","typeLabel":"boolean"},"phonemizeBetweenBrackets":{"type":"boolean","description":"This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: \"{h'El.o} World\" will pronounce \"Hello\" as expected.","example":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.phonemizeBetweenBrackets","typeLabel":"boolean"},"reduceLatency":{"type":"boolean","description":"This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency","example":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.reduceLatency","typeLabel":"boolean"},"inlineSpeedAlpha":{"type":"string","description":"This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha","example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.inlineSpeedAlpha","typeLabel":"string"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.10","typeLabel":"RimeAI · object"},{"type":"object","title":"Smallest AI","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["emily","jasmine","arman","james","mithali","aravind","raj","diya","raman","ananya","isha","william","aarav","monika","niharika","deepika","raghav","kajal","radhika","mansi","nisha","saurabh","pooja","saina","sanya"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Smallest AI Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"Smallest AI voice model to use. Defaults to 'lightning' when not specified.","enum":["lightning"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.11","typeLabel":"Smallest AI · object"},{"type":"object","title":"TavusVoice","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["tavus"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["r52da2535a"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Tavus Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.voiceId","typeLabel":"enum\u003cstring> | string"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.cachingEnabled","typeLabel":"boolean"},"personaId":{"type":"string","description":"This is the unique identifier for the persona that the replica will use in the conversation.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.personaId","typeLabel":"string"},"callbackUrl":{"type":"string","description":"This is the url that will receive webhooks with updates regarding the conversation state.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.callbackUrl","typeLabel":"string"},"conversationName":{"type":"string","description":"This is the name for the conversation.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationName","typeLabel":"string"},"conversationalContext":{"type":"string","description":"This is the context that will be appended to any context provided in the persona, if one is provided.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.conversationalContext","typeLabel":"string"},"customGreeting":{"type":"string","description":"This is the custom greeting that the replica will give once a participant joines the conversation.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.customGreeting","typeLabel":"string"},"properties":{"type":"object","description":"These are optional properties used to customize the conversation.","properties":{"maxCallDuration":{"type":"number","description":"The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.maxCallDuration","typeLabel":"number"},"participantLeftTimeout":{"type":"number","description":"The duration in seconds after which the call will be automatically shut down once the last participant leaves.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantLeftTimeout","typeLabel":"number"},"participantAbsentTimeout":{"type":"number","description":"Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes).","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.participantAbsentTimeout","typeLabel":"number"},"enableRecording":{"type":"boolean","description":"If true, the user will be able to record the conversation.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableRecording","typeLabel":"boolean"},"enableTranscription":{"type":"boolean","description":"If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.enableTranscription","typeLabel":"boolean"},"applyGreenscreen":{"type":"boolean","description":"If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.applyGreenscreen","typeLabel":"boolean"},"language":{"type":"string","description":"The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.language","typeLabel":"string"},"recordingS3BucketName":{"type":"string","description":"The name of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketName","typeLabel":"string"},"recordingS3BucketRegion":{"type":"string","description":"The region of the S3 bucket where the recording will be stored.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.recordingS3BucketRegion","typeLabel":"string"},"awsAssumeRoleArn":{"type":"string","description":"The ARN of the role that will be assumed to access the S3 bucket.","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties.awsAssumeRoleArn","typeLabel":"string"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.properties","typeLabel":"object"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.12","typeLabel":"TavusVoice · object"},{"type":"object","title":"Neuphonic","required":["provider","voiceId","language"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["neuphonic"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"oneOf":[{"type":"string","title":"Preset Voice Options","description":"This is the provider-specific ID that will be used.","enum":["test"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Neuphonic Voice ID","description":"This is the provider-specific ID that will be used.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.voiceId","typeLabel":"enum\u003cstring> | string"},"language":{"type":"object","description":"This is the language (ISO 639-1) that is enforced for the model.","example":"en","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.language","typeLabel":"object"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used. Defaults to 'neu_fast' if not specified.","enum":["neu_hq","neu_fast"],"example":"neu_fast","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.model","typeLabel":"enum\u003cstring>"},"speed":{"type":"number","description":"This is the speed multiplier that will be used.","minimum":0.25,"maximum":2,"example":null,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.speed","typeLabel":"number"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.13","typeLabel":"Neuphonic · object"},{"type":"object","title":"Sesame","required":["provider","voiceId","model"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["sesame"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"This is the provider-specific ID that will be used.","title":"Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice).","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.voiceId","typeLabel":"string"},"model":{"type":"string","description":"This is the model that will be used.","enum":["csm-1b"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.model","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.cachingEnabled","typeLabel":"boolean"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.14","typeLabel":"Sesame · object"},{"type":"object","title":"Inworld","required":["provider","voiceId"],"properties":{"provider":{"type":"string","description":"This is the voice provider that will be used.","enum":["inworld"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"Available voices by language:\n• en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus\n• zh: Yichen, Xiaoyin, Xinyi, Jing\n• nl: Erik, Katrien, Lennart, Lore\n• fr: Alain, Hélène, Mathieu, Étienne\n• de: Johanna, Josef\n• it: Gianni, Orietta\n• ja: Asuka, Satoshi\n• ko: Hyunwoo, Minji, Seojun, Yoona\n• pl: Szymon, Wojciech\n• pt: Heitor, Maitê\n• es: Diego, Lupita, Miguel, Rafael","maxLength":120,"title":"Inworld Voice ID","enum":["Alex","Ashley","Craig","Deborah","Dennis","Edward","Elizabeth","Hades","Julia","Pixie","Mark","Olivia","Priya","Ronald","Sarah","Shaun","Theodore","Timothy","Wendy","Dominus","Yichen","Xiaoyin","Xinyi","Jing","Erik","Katrien","Lennart","Lore","Alain","Hélène","Mathieu","Étienne","Johanna","Josef","Gianni","Orietta","Asuka","Satoshi","Hyunwoo","Minji","Seojun","Yoona","Szymon","Wojciech","Heitor","Maitê","Diego","Lupita","Miguel","Rafael"],"example":"Alex","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.voiceId","typeLabel":"enum\u003cstring>"},"cachingEnabled":{"type":"boolean","description":"This is the flag to toggle voice caching for the assistant.","example":true,"default":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.cachingEnabled","typeLabel":"boolean"},"model":{"type":"string","description":"This is the model that will be used.","enum":["inworld-tts-1"],"default":"inworld-tts-1","uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.model","typeLabel":"enum\u003cstring>"},"languageCode":{"type":"string","description":"Language code for Inworld TTS synthesis","default":"en","enum":["en","zh","ko","nl","fr","es","ja","de","it","pl","pt"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.languageCode","typeLabel":"enum\u003cstring>"},"chunkPlan":{"type":"object","description":"This is the plan for chunking the model output before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the model output is chunked before being sent to the voice provider. Default `true`.\n\nUsage:\n- To rely on the voice provider's audio generation logic, set this to `false`.\n- If seeing issues with quality, set this to `true`.\n\nIf disabled, cozmox-provided audio control tokens like \u003cflush /> will not work.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.enabled","typeLabel":"boolean"},"minCharacters":{"type":"number","description":"This is the minimum number of characters in a chunk.\n\nUsage:\n- To increase quality, set this to a higher value.\n- To decrease latency, set this to a lower value.\n\n@default 30","minimum":1,"maximum":80,"example":30,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.minCharacters","typeLabel":"number"},"punctuationBoundaries":{"type":"array","description":"These are the punctuations that are considered valid boundaries for a chunk to be created.\n\nUsage:\n- To increase quality, constrain to fewer boundaries.\n- To decrease latency, enable all.\n\nDefault is automatically set to balance the trade-off between quality and latency based on the provider.","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"example":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"items":{"type":"string","enum":["。",",",".","!","?",";",")","،","۔","।","॥","|","||",",",":"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.punctuationBoundaries","typeLabel":"enum\u003cstring>[]"},"formatPlan":{"type":"object","description":"This is the plan for formatting the chunk before it is sent to the voice provider.","properties":{"enabled":{"type":"boolean","description":"This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`.\n\nUsage:\n- To rely on the voice provider's formatting logic, set this to `false`.\n\nIf `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format.\n\n@default true","example":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.enabled","typeLabel":"boolean"},"numberToDigitsCutoff":{"type":"number","description":"This is the cutoff after which a number is converted to individual digits instead of being spoken as words.\n\nExample:\n- If cutoff 2025, \"12345\" is converted to \"1 2 3 4 5\" while \"1200\" is converted to \"twelve hundred\".\n\nUsage:\n- If your use case doesn't involve IDs like zip codes, set this to a high value.\n- If your use case involves IDs that are shorter than 5 digits, set this to a lower value.\n\n@default 2025","minimum":0,"example":2025,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.numberToDigitsCutoff","typeLabel":"number"},"replacements":{"type":"array","description":"These are the custom replacements you can make to the chunk before it is sent to the voice provider.\n\nUsage:\n- To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }`\n- To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\\\b[a-zA-Z]{5}\\\\b', value: 'hi' }`\n\n@default []","items":{"oneOf":[{"type":"object","title":"ExactReplacement","required":["type","key","value"],"properties":{"type":{"type":"string","description":"This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase.\n\nUsage:\n- Replace \"hello\" with \"hi\": { type: 'exact', key: 'hello', value: 'hi' }\n- Replace \"good morning\" with \"good day\": { type: 'exact', key: 'good morning', value: 'good day' }\n- Replace a specific name: { type: 'exact', key: 'John Doe', value: 'Jane Smith' }\n- Replace an acronym: { type: 'exact', key: 'AI', value: 'Artificial Intelligence' }\n- Replace a company name with its phonetic pronunciation: { type: 'exact', key: 'cozmox', value: 'Vappy' }","enum":["exact"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"This is the key to replace.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.value","typeLabel":"string"},"replaceAllEnabled":{"type":"boolean","description":"This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance.\nExamples:\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: \"hello world, hello universe\" | After: \"hi world, hello universe\"\n- For { type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: \"hello world, hello universe\" | After: \"hi world, hi universe\"\n@default false","default":false,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0.replaceAllEnabled","typeLabel":"boolean"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.0","typeLabel":"ExactReplacement · object"},{"type":"object","title":"RegexReplacement","required":["type","regex","value"],"properties":{"type":{"type":"string","description":"This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern.\n\nUsage:\n- Replace all numbers with \"some number\": { type: 'regex', regex: '\\\\d+', value: 'some number' }\n- Replace email addresses with \"[EMAIL]\": { type: 'regex', regex: '\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', value: '[EMAIL]' }\n- Replace phone numbers with a formatted version: { type: 'regex', regex: '(\\\\d{3})(\\\\d{3})(\\\\d{4})', value: '($1) $2-$3' }\n- Replace all instances of \"color\" or \"colour\" with \"hue\": { type: 'regex', regex: 'colou?r', value: 'hue' }\n- Capitalize the first letter of every sentence: { type: 'regex', regex: '(?\u003c=\\\\. |^)[a-z]', value: (match) => match.toUpperCase() }","enum":["regex"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to replace.\n\nNote:\n- This works by using the `string.replace` method in Node.JS. Eg. `\"hello there\".replace(/hello/g, \"hi\")` will return `\"hi there\"`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"value":{"type":"string","description":"This is the value that will replace the match.","maxLength":1000,"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.value","typeLabel":"string"},"options":{"description":"These are the options for the regex replacement. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1.options","typeLabel":"object[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX].oneOf.1","typeLabel":"RegexReplacement · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements.items.[INDEX]","typeLabel":"ExactReplacement · object | RegexReplacement · object"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.replacements","typeLabel":"(ExactReplacement · object | RegexReplacement · object)[]"},"formattersEnabled":{"type":"array","description":"List of formatters to apply. If not provided, all default formatters will be applied.\nIf provided, only the specified formatters will be applied.\nNote: Some essential formatters like angle bracket removal will always be applied.\n@default undefined","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"items":{"type":"string","enum":["markdown","asterisk","quote","dash","newline","colon","acronym","dollarAmount","email","date","time","distance","unit","percentage","phoneNumber","number","stripAsterisk"],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan.formattersEnabled","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan.formatPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15.chunkPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX].oneOf.15","typeLabel":"Inworld · object"}],"uniqueKey":"voice.oneOf.15.fallbackPlan.voices.items.[INDEX]","typeLabel":"Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object"},"isRequired":true,"uniqueKey":"voice.oneOf.15.fallbackPlan.voices","typeLabel":"(Azure · object | Cartesia · object | Hume · object | CustomVoice · object | Deepgram · object | ElevenLabs · object | cozmox · object | LMNT · object | OpenAI · object | PlayHT · object | RimeAI · object | Smallest AI · object | TavusVoice · object | Neuphonic · object | Sesame · object | Inworld · object)[]"}},"uniqueKey":"voice.oneOf.15.fallbackPlan","typeLabel":"object"}},"uniqueKey":"voice.oneOf.15","typeLabel":"InworldVoice · object"}],"uniqueKey":"voice","typeLabel":"AzureVoice · object | CartesiaVoice · object | CustomVoice · object | DeepgramVoice · object | ElevenLabsVoice · object | HumeVoice · object | LMNTVoice · object | NeuphonicVoice · object | OpenAIVoice · object | PlayHTVoice · object | RimeAIVoice · object | SmallestAIVoice · object | TavusVoice · object | cozmoxVoice · object | SesameVoice · object | InworldVoice · object"},"observabilityPlan":{"type":"object","title":"Langfuse","description":"This is the plan for observability of workflow's calls.\n\nCurrently, only Langfuse is supported.","required":["provider","tags"],"properties":{"provider":{"type":"string","enum":["langfuse"],"isRequired":true,"uniqueKey":"observabilityPlan.provider","typeLabel":"enum\u003cstring>"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"observabilityPlan.tags.items.[INDEX]","typeLabel":"string"},"description":"This is an array of tags to be added to the Langfuse trace. Tags allow you to categorize and filter traces. https://langfuse.com/docs/tracing-features/tags","isRequired":true,"uniqueKey":"observabilityPlan.tags","typeLabel":"string[]"},"metadata":{"type":"object","description":"This is a JSON object that will be added to the Langfuse trace. Traces can be enriched with metadata to better understand your users, application, and experiments. https://langfuse.com/docs/tracing-features/metadata\nBy default it includes the call metadata, assistant metadata, and assistant overrides.","uniqueKey":"observabilityPlan.metadata","typeLabel":"object"}},"uniqueKey":"observabilityPlan","typeLabel":"Langfuse · object"},"backgroundSound":{"oneOf":[{"type":"string","description":"This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.","enum":["off","office"],"example":"office","uniqueKey":"backgroundSound.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.","format":"uri","example":"https://www.soundjay.com/ambient/sounds/people-in-lounge-1.mp3","uniqueKey":"backgroundSound.oneOf.1","typeLabel":"string\u003curi>"}],"uniqueKey":"backgroundSound","typeLabel":"enum\u003cstring> | string\u003curi>"},"credentials":{"type":"array","description":"These are dynamic credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.","items":{"oneOf":[{"type":"object","title":"AnthropicCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["anthropic"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.0.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.0.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.0.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.0","typeLabel":"AnthropicCredential · object"},{"type":"object","title":"AnyscaleCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["anyscale"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.1.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.1.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.1.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.1","typeLabel":"AnyscaleCredential · object"},{"type":"object","title":"AssemblyAICredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["assembly-ai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.2.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.2.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.2.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.2","typeLabel":"AssemblyAICredential · object"},{"type":"object","title":"AzureCredential","required":["provider","service"],"properties":{"provider":{"type":"string","enum":["azure"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.3.provider","typeLabel":"enum\u003cstring>"},"service":{"type":"string","description":"This is the service being used in Azure.","enum":["speech","blob_storage"],"default":"speech","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.3.service","typeLabel":"enum\u003cstring>"},"region":{"type":"string","description":"This is the region of the Azure resource.","enum":["australia","canadaeast","canadacentral","eastus2","eastus","france","india","japaneast","japanwest","uaenorth","northcentralus","norway","southcentralus","swedencentral","switzerland","uk","westus","westus3"],"uniqueKey":"credentials.items.[INDEX].oneOf.3.region","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","uniqueKey":"credentials.items.[INDEX].oneOf.3.apiKey","typeLabel":"string"},"fallbackIndex":{"type":"number","minimum":1,"description":"This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.","uniqueKey":"credentials.items.[INDEX].oneOf.3.fallbackIndex","typeLabel":"number"},"bucketPlan":{"type":"object","description":"This is the bucket plan that can be provided to store call artifacts in Azure Blob Storage.","required":["connectionString","containerName"],"properties":{"connectionString":{"type":"string","description":"This is the blob storage connection string for the Azure resource.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.3.bucketPlan.connectionString","typeLabel":"string"},"containerName":{"type":"string","description":"This is the container name for the Azure blob storage.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.3.bucketPlan.containerName","typeLabel":"string"},"path":{"type":"string","description":"This is the path where call artifacts will be stored.\n\nUsage:\n- To store call artifacts in a specific folder, set this to the full path. Eg. \"/folder-name1/folder-name2\".\n- To store call artifacts in the root of the bucket, leave this blank.\n\n@default \"/\"","uniqueKey":"credentials.items.[INDEX].oneOf.3.bucketPlan.path","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.3.bucketPlan","typeLabel":"object"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.3.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.3","typeLabel":"AzureCredential · object"},{"type":"object","title":"AzureOpenAICredential","required":["provider","region","models","openAIKey","openAIEndpoint"],"properties":{"provider":{"type":"string","enum":["azure-openai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.4.provider","typeLabel":"enum\u003cstring>"},"region":{"type":"string","enum":["australia","canadaeast","canadacentral","eastus2","eastus","france","india","japaneast","japanwest","uaenorth","northcentralus","norway","southcentralus","swedencentral","switzerland","uk","westus","westus3"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.4.region","typeLabel":"enum\u003cstring>"},"models":{"type":"array","enum":["gpt-4.1-2025-04-14","gpt-4.1-mini-2025-04-14","gpt-4.1-nano-2025-04-14","gpt-4o-2024-11-20","gpt-4o-2024-08-06","gpt-4o-2024-05-13","gpt-4o-mini-2024-07-18","gpt-4-turbo-2024-04-09","gpt-4-0125-preview","gpt-4-1106-preview","gpt-4-0613","gpt-35-turbo-0125","gpt-35-turbo-1106"],"example":["gpt-4-0125-preview","gpt-4-0613"],"items":{"type":"string","enum":["gpt-4.1-2025-04-14","gpt-4.1-mini-2025-04-14","gpt-4.1-nano-2025-04-14","gpt-4o-2024-11-20","gpt-4o-2024-08-06","gpt-4o-2024-05-13","gpt-4o-mini-2024-07-18","gpt-4-turbo-2024-04-09","gpt-4-0125-preview","gpt-4-1106-preview","gpt-4-0613","gpt-35-turbo-0125","gpt-35-turbo-1106"],"uniqueKey":"credentials.items.[INDEX].oneOf.4.models.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.4.models","typeLabel":"enum\u003cstring>[]"},"openAIKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.4.openAIKey","typeLabel":"string"},"openAIEndpoint":{"type":"string","maxLength":10000,"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.4.openAIEndpoint","typeLabel":"string"},"ocpApimSubscriptionKey":{"type":"string","description":"This is not returned in the API.","uniqueKey":"credentials.items.[INDEX].oneOf.4.ocpApimSubscriptionKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.4.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.4","typeLabel":"AzureOpenAICredential · object"},{"type":"object","title":"ByoSipTrunkCredential","required":["gateways"],"properties":{"gateways":{"description":"This is the list of SIP trunk's gateways.","type":"array","items":{"type":"object","properties":{"ip":{"type":"string","description":"This is the address of the gateway. It can be an IPv4 address like 1.1.1.1 or a fully qualified domain name like my-sip-trunk.pstn.twilio.com.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways.items.[INDEX].ip","typeLabel":"string"},"port":{"type":"number","description":"This is the port number of the gateway. Default is 5060.\n\n@default 5060","minimum":1,"maximum":65535,"uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways.items.[INDEX].port","typeLabel":"number"},"netmask":{"type":"number","description":"This is the netmask of the gateway. Defaults to 32.\n\n@default 32","minimum":24,"maximum":32,"uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways.items.[INDEX].netmask","typeLabel":"number"},"inboundEnabled":{"type":"boolean","description":"This is whether inbound calls are allowed from this gateway. Default is true.\n\n@default true","uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways.items.[INDEX].inboundEnabled","typeLabel":"boolean"},"outboundEnabled":{"type":"boolean","description":"This is whether outbound calls should be sent to this gateway. Default is true.\n\nNote, if netmask is less than 32, it doesn't affect the outbound IPs that are tried. 1 attempt is made to `ip:port`.\n\n@default true","uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways.items.[INDEX].outboundEnabled","typeLabel":"boolean"},"outboundProtocol":{"type":"string","description":"This is the protocol to use for SIP signaling outbound calls. Default is udp.\n\n@default udp","enum":["tls/srtp","tcp","tls","udp"],"uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways.items.[INDEX].outboundProtocol","typeLabel":"enum\u003cstring>"},"optionsPingEnabled":{"type":"boolean","description":"This is whether to send options ping to the gateway. This can be used to check if the gateway is reachable. Default is false.\n\nThis is useful for high availability setups where you want to check if the gateway is reachable before routing calls to it. Note, if no gateway for a trunk is reachable, outbound calls will be rejected.\n\n@default false","uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways.items.[INDEX].optionsPingEnabled","typeLabel":"boolean"}},"required":["ip"],"uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.5.gateways","typeLabel":"object[]"},"provider":{"type":"string","description":"This can be used to bring your own SIP trunks or to connect to a Carrier.","enum":["byo-sip-trunk"],"uniqueKey":"credentials.items.[INDEX].oneOf.5.provider","typeLabel":"enum\u003cstring>"},"outboundAuthenticationPlan":{"type":"object","description":"This can be used to configure the outbound authentication if required by the SIP trunk.","properties":{"authPassword":{"type":"string","description":"This is not returned in the API.","uniqueKey":"credentials.items.[INDEX].oneOf.5.outboundAuthenticationPlan.authPassword","typeLabel":"string"},"authUsername":{"type":"string","uniqueKey":"credentials.items.[INDEX].oneOf.5.outboundAuthenticationPlan.authUsername","typeLabel":"string"},"sipRegisterPlan":{"type":"object","description":"This can be used to configure if SIP register is required by the SIP trunk. If not provided, no SIP registration will be attempted.","properties":{"domain":{"type":"string","uniqueKey":"credentials.items.[INDEX].oneOf.5.outboundAuthenticationPlan.sipRegisterPlan.domain","typeLabel":"string"},"username":{"type":"string","uniqueKey":"credentials.items.[INDEX].oneOf.5.outboundAuthenticationPlan.sipRegisterPlan.username","typeLabel":"string"},"realm":{"type":"string","uniqueKey":"credentials.items.[INDEX].oneOf.5.outboundAuthenticationPlan.sipRegisterPlan.realm","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.5.outboundAuthenticationPlan.sipRegisterPlan","typeLabel":"object"}},"uniqueKey":"credentials.items.[INDEX].oneOf.5.outboundAuthenticationPlan","typeLabel":"object"},"outboundLeadingPlusEnabled":{"type":"boolean","description":"This ensures the outbound origination attempts have a leading plus. Defaults to false to match conventional telecom behavior.\n\nUsage:\n- Vonage/Twilio requires leading plus for all outbound calls. Set this to true.\n\n@default false","uniqueKey":"credentials.items.[INDEX].oneOf.5.outboundLeadingPlusEnabled","typeLabel":"boolean"},"techPrefix":{"type":"string","description":"This can be used to configure the tech prefix on outbound calls. This is an advanced property.","maxLength":10000,"uniqueKey":"credentials.items.[INDEX].oneOf.5.techPrefix","typeLabel":"string"},"sipDiversionHeader":{"type":"string","description":"This can be used to enable the SIP diversion header for authenticating the calling number if the SIP trunk supports it. This is an advanced property.","maxLength":10000,"uniqueKey":"credentials.items.[INDEX].oneOf.5.sipDiversionHeader","typeLabel":"string"},"sbcConfiguration":{"type":"object","description":"This is an advanced configuration for enterprise deployments. This uses the onprem SBC to trunk into the SIP trunk's `gateways`, rather than the managed SBC provided by cozmox.","properties":{},"uniqueKey":"credentials.items.[INDEX].oneOf.5.sbcConfiguration","typeLabel":"object"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.5.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.5","typeLabel":"ByoSipTrunkCredential · object"},{"type":"object","title":"CartesiaCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["cartesia"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.6.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.6.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.6.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.6","typeLabel":"CartesiaCredential · object"},{"type":"object","title":"CerebrasCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["cerebras"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.7.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.7.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.7.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.7","typeLabel":"CerebrasCredential · object"},{"type":"object","title":"CloudflareCredential","required":["provider"],"properties":{"provider":{"type":"string","enum":["cloudflare"],"description":"Credential provider. Only allowed value is cloudflare","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.8.provider","typeLabel":"enum\u003cstring>"},"accountId":{"type":"string","description":"Cloudflare Account Id.","uniqueKey":"credentials.items.[INDEX].oneOf.8.accountId","typeLabel":"string"},"apiKey":{"type":"string","description":"Cloudflare API Key / Token.","uniqueKey":"credentials.items.[INDEX].oneOf.8.apiKey","typeLabel":"string"},"accountEmail":{"type":"string","description":"Cloudflare Account Email.","uniqueKey":"credentials.items.[INDEX].oneOf.8.accountEmail","typeLabel":"string"},"fallbackIndex":{"type":"number","minimum":1,"description":"This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.","uniqueKey":"credentials.items.[INDEX].oneOf.8.fallbackIndex","typeLabel":"number"},"bucketPlan":{"type":"object","description":"This is the bucket plan that can be provided to store call artifacts in R2","required":["name"],"properties":{"name":{"type":"string","description":"This is the name of the bucket.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.8.bucketPlan.name","typeLabel":"string"},"accessKeyId":{"type":"string","description":"Cloudflare R2 Access key ID.","uniqueKey":"credentials.items.[INDEX].oneOf.8.bucketPlan.accessKeyId","typeLabel":"string"},"secretAccessKey":{"type":"string","description":"Cloudflare R2 access key secret. This is not returned in the API.","uniqueKey":"credentials.items.[INDEX].oneOf.8.bucketPlan.secretAccessKey","typeLabel":"string"},"url":{"type":"string","description":"Cloudflare R2 base url.","uniqueKey":"credentials.items.[INDEX].oneOf.8.bucketPlan.url","typeLabel":"string"},"path":{"type":"string","description":"This is the path where call artifacts will be stored.\n\nUsage:\n- To store call artifacts in a specific folder, set this to the full path. Eg. \"/folder-name1/folder-name2\".\n- To store call artifacts in the root of the bucket, leave this blank.\n\n@default \"/\"","uniqueKey":"credentials.items.[INDEX].oneOf.8.bucketPlan.path","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.8.bucketPlan","typeLabel":"object"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.8.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.8","typeLabel":"CloudflareCredential · object"},{"type":"object","title":"CustomLLMCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["custom-llm"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.9.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.9.apiKey","typeLabel":"string"},"authenticationPlan":{"type":"object","description":"This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey","required":["type","url","clientId","clientSecret"],"properties":{"type":{"type":"string","enum":["oauth2"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.9.authenticationPlan.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"This is the OAuth2 URL.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.9.authenticationPlan.url","typeLabel":"string"},"clientId":{"type":"string","description":"This is the OAuth2 client ID.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.9.authenticationPlan.clientId","typeLabel":"string"},"clientSecret":{"type":"string","description":"This is the OAuth2 client secret.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.9.authenticationPlan.clientSecret","typeLabel":"string"},"scope":{"type":"string","description":"This is the scope of the OAuth2 token.","maxLength":1000,"uniqueKey":"credentials.items.[INDEX].oneOf.9.authenticationPlan.scope","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.9.authenticationPlan","typeLabel":"object"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.9.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.9","typeLabel":"CustomLLMCredential · object"},{"type":"object","title":"DeepgramCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["deepgram"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.10.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.10.apiKey","typeLabel":"string"},"apiUrl":{"type":"string","description":"This can be used to point to an onprem Deepgram instance. Defaults to api.deepgram.com.","uniqueKey":"credentials.items.[INDEX].oneOf.10.apiUrl","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.10.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.10","typeLabel":"DeepgramCredential · object"},{"type":"object","title":"DeepInfraCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["deepinfra"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.11.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.11.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.11.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.11","typeLabel":"DeepInfraCredential · object"},{"type":"object","title":"DeepSeekCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["deep-seek"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.12.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.12.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.12.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.12","typeLabel":"DeepSeekCredential · object"},{"type":"object","title":"ElevenLabsCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["11labs"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.13.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.13.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.13.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.13","typeLabel":"ElevenLabsCredential · object"},{"type":"object","title":"GcpCredential","required":["provider","gcpKey"],"properties":{"provider":{"type":"string","enum":["gcp"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.provider","typeLabel":"enum\u003cstring>"},"gcpKey":{"type":"object","description":"This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at https://console.cloud.google.com/iam-admin/serviceaccounts/details/\u003cservice-account-id>/keys.\n\nThe schema is identical to the JSON that GCP outputs.","required":["type","projectId","privateKeyId","privateKey","clientEmail","clientId","authUri","tokenUri","authProviderX509CertUrl","clientX509CertUrl","universeDomain"],"properties":{"type":{"type":"string","description":"This is the type of the key. Most likely, this is \"service_account\".","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.type","typeLabel":"string"},"projectId":{"type":"string","description":"This is the ID of the Google Cloud project associated with this key.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.projectId","typeLabel":"string"},"privateKeyId":{"type":"string","description":"This is the unique identifier for the private key.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.privateKeyId","typeLabel":"string"},"privateKey":{"type":"string","description":"This is the private key in PEM format.\n\nNote: This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.privateKey","typeLabel":"string"},"clientEmail":{"type":"string","description":"This is the email address associated with the service account.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.clientEmail","typeLabel":"string"},"clientId":{"type":"string","description":"This is the unique identifier for the client.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.clientId","typeLabel":"string"},"authUri":{"type":"string","description":"This is the URI for the auth provider's authorization endpoint.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.authUri","typeLabel":"string"},"tokenUri":{"type":"string","description":"This is the URI for the auth provider's token endpoint.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.tokenUri","typeLabel":"string"},"authProviderX509CertUrl":{"type":"string","description":"This is the URL of the public x509 certificate for the auth provider.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.authProviderX509CertUrl","typeLabel":"string"},"clientX509CertUrl":{"type":"string","description":"This is the URL of the public x509 certificate for the client.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.clientX509CertUrl","typeLabel":"string"},"universeDomain":{"type":"string","description":"This is the domain associated with the universe this service account belongs to.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey.universeDomain","typeLabel":"string"}},"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.gcpKey","typeLabel":"object"},"fallbackIndex":{"type":"number","minimum":1,"description":"This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.","uniqueKey":"credentials.items.[INDEX].oneOf.14.fallbackIndex","typeLabel":"number"},"region":{"type":"string","description":"This is the region of the GCP resource.","maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.14.region","typeLabel":"string"},"bucketPlan":{"type":"object","properties":{"name":{"type":"string","description":"This is the name of the bucket.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.14.bucketPlan.name","typeLabel":"string"},"region":{"type":"string","description":"This is the region of the bucket.\n\nUsage:\n- If `credential.type` is `aws`, then this is required.\n- If `credential.type` is `gcp`, then this is optional since GCP allows buckets to be accessed without a region but region is required for data residency requirements. Read here: https://cloud.google.com/storage/docs/request-endpoints\n\nThis overrides the `credential.region` field if it is provided.","uniqueKey":"credentials.items.[INDEX].oneOf.14.bucketPlan.region","typeLabel":"string"},"path":{"type":"string","description":"This is the path where call artifacts will be stored.\n\nUsage:\n- To store call artifacts in a specific folder, set this to the full path. Eg. \"/folder-name1/folder-name2\".\n- To store call artifacts in the root of the bucket, leave this blank.\n\n@default \"/\"","uniqueKey":"credentials.items.[INDEX].oneOf.14.bucketPlan.path","typeLabel":"string"},"hmacAccessKey":{"type":"string","description":"This is the HMAC access key offered by GCP for interoperability with S3 clients. Here is the guide on how to create: https://cloud.google.com/storage/docs/authentication/managing-hmackeys#console\n\nUsage:\n- If `credential.type` is `gcp`, then this is required.\n- If `credential.type` is `aws`, then this is not required since credential.awsAccessKeyId is used instead.","uniqueKey":"credentials.items.[INDEX].oneOf.14.bucketPlan.hmacAccessKey","typeLabel":"string"},"hmacSecret":{"type":"string","description":"This is the secret for the HMAC access key. Here is the guide on how to create: https://cloud.google.com/storage/docs/authentication/managing-hmackeys#console\n\nUsage:\n- If `credential.type` is `gcp`, then this is required.\n- If `credential.type` is `aws`, then this is not required since credential.awsSecretAccessKey is used instead.\n\nNote: This is not returned in the API.","uniqueKey":"credentials.items.[INDEX].oneOf.14.bucketPlan.hmacSecret","typeLabel":"string"}},"required":["name"],"uniqueKey":"credentials.items.[INDEX].oneOf.14.bucketPlan","typeLabel":"object"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.14.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.14","typeLabel":"GcpCredential · object"},{"type":"object","title":"GladiaCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["gladia"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.15.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.15.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.15.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.15","typeLabel":"GladiaCredential · object"},{"type":"object","title":"GhlCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["gohighlevel"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.16.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.16.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.16.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.16","typeLabel":"GhlCredential · object"},{"type":"object","title":"GoogleCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","description":"This is the key for Gemini in Google AI Studio. Get it from here: https://aistudio.google.com/app/apikey","enum":["google"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.17.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.17.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.17.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.17","typeLabel":"GoogleCredential · object"},{"type":"object","title":"GroqCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["groq"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.18.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.18.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.18.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.18","typeLabel":"GroqCredential · object"},{"type":"object","title":"HumeCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["hume"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.19.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.19.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.19.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.19","typeLabel":"HumeCredential · object"},{"type":"object","title":"InflectionAICredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","description":"This is the api key for Pi in InflectionAI's console. Get it from here: https://developers.inflection.ai/keys, billing will need to be setup","enum":["inflection-ai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.20.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.20.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.20.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.20","typeLabel":"InflectionAICredential · object"},{"type":"object","title":"LangfuseCredential","required":["provider","publicKey","apiKey","apiUrl"],"properties":{"provider":{"type":"string","enum":["langfuse"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.21.provider","typeLabel":"enum\u003cstring>"},"publicKey":{"type":"string","description":"The public key for Langfuse project. Eg: pk-lf-...","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.21.publicKey","typeLabel":"string"},"apiKey":{"type":"string","description":"The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.21.apiKey","typeLabel":"string"},"apiUrl":{"type":"string","description":"The host URL for Langfuse project. Eg: https://cloud.langfuse.com","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.21.apiUrl","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.21.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.21","typeLabel":"LangfuseCredential · object"},{"type":"object","title":"LmntCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["lmnt"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.22.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.22.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.22.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.22","typeLabel":"LmntCredential · object"},{"type":"object","title":"MakeCredential","required":["provider","teamId","region","apiKey"],"properties":{"provider":{"type":"string","enum":["make"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.23.provider","typeLabel":"enum\u003cstring>"},"teamId":{"type":"string","description":"Team ID","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.23.teamId","typeLabel":"string"},"region":{"type":"string","description":"Region of your application. For example: eu1, eu2, us1, us2","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.23.region","typeLabel":"string"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.23.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.23.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.23","typeLabel":"MakeCredential · object"},{"type":"object","title":"MistralCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["mistral"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.24.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":100,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.24.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.24.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.24","typeLabel":"MistralCredential · object"},{"type":"object","title":"NeuphonicCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["neuphonic"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.25.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.25.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.25.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.25","typeLabel":"NeuphonicCredential · object"},{"type":"object","title":"OpenAICredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["openai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.26.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.26.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.26.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.26","typeLabel":"OpenAICredential · object"},{"type":"object","title":"OpenRouterCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["openrouter"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.27.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.27.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.27.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.27","typeLabel":"OpenRouterCredential · object"},{"type":"object","title":"PerplexityAICredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["perplexity-ai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.28.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.28.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.28.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.28","typeLabel":"PerplexityAICredential · object"},{"type":"object","title":"PlayHTCredential","required":["provider","apiKey","userId"],"properties":{"provider":{"type":"string","enum":["playht"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.29.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.29.apiKey","typeLabel":"string"},"userId":{"type":"string","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.29.userId","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.29.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.29","typeLabel":"PlayHTCredential · object"},{"type":"object","title":"RimeAICredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["rime-ai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.30.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.30.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.30.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.30","typeLabel":"RimeAICredential · object"},{"type":"object","title":"RunpodCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["runpod"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.31.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.31.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.31.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.31","typeLabel":"RunpodCredential · object"},{"type":"object","title":"S3Credential","required":["provider","awsAccessKeyId","awsSecretAccessKey","region","s3BucketName","s3PathPrefix"],"properties":{"provider":{"type":"string","enum":["s3"],"description":"Credential provider. Only allowed value is s3","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.32.provider","typeLabel":"enum\u003cstring>"},"awsAccessKeyId":{"type":"string","description":"AWS access key ID.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.32.awsAccessKeyId","typeLabel":"string"},"awsSecretAccessKey":{"type":"string","description":"AWS access key secret. This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.32.awsSecretAccessKey","typeLabel":"string"},"region":{"type":"string","description":"AWS region in which the S3 bucket is located.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.32.region","typeLabel":"string"},"s3BucketName":{"type":"string","description":"AWS S3 bucket name.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.32.s3BucketName","typeLabel":"string"},"s3PathPrefix":{"type":"string","description":"The path prefix for the uploaded recording. Ex. \"recordings/\"","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.32.s3PathPrefix","typeLabel":"string"},"fallbackIndex":{"type":"number","minimum":1,"description":"This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.","uniqueKey":"credentials.items.[INDEX].oneOf.32.fallbackIndex","typeLabel":"number"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.32.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.32","typeLabel":"S3Credential · object"},{"type":"object","title":"SmallestAICredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["smallest-ai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.33.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.33.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.33.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.33","typeLabel":"SmallestAICredential · object"},{"type":"object","title":"SpeechmaticsCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["speechmatics"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.34.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.34.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.34.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.34","typeLabel":"SpeechmaticsCredential · object"},{"type":"object","title":"SupabaseCredential","required":["provider"],"properties":{"provider":{"type":"string","enum":["supabase"],"description":"This is for supabase storage.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.35.provider","typeLabel":"enum\u003cstring>"},"fallbackIndex":{"type":"number","minimum":1,"description":"This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.","uniqueKey":"credentials.items.[INDEX].oneOf.35.fallbackIndex","typeLabel":"number"},"bucketPlan":{"type":"object","properties":{"region":{"type":"string","description":"This is the S3 Region. It should look like us-east-1\nIt should be one of the supabase regions defined in the SUPABASE_REGION enum\nCheck https://supabase.com/docs/guides/platform/regions for up to date regions","enum":["us-west-1","us-east-1","us-east-2","ca-central-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-central-2","eu-north-1","ap-south-1","ap-southeast-1","ap-northeast-1","ap-northeast-2","ap-southeast-2","sa-east-1"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.35.bucketPlan.region","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"This is the S3 compatible URL for Supabase S3\nThis should look like https://\u003cproject-ID>.supabase.co/storage/v1/s3","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.35.bucketPlan.url","typeLabel":"string"},"accessKeyId":{"type":"string","description":"This is the Supabase S3 Access Key ID.\nThe user creates this in the Supabase project Storage settings","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.35.bucketPlan.accessKeyId","typeLabel":"string"},"secretAccessKey":{"type":"string","description":"This is the Supabase S3 Secret Access Key.\nThe user creates this in the Supabase project Storage settings along with the access key id","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.35.bucketPlan.secretAccessKey","typeLabel":"string"},"name":{"type":"string","description":"This is the Supabase S3 Bucket Name.\nThe user must create this in Supabase under Storage > Buckets\nA bucket that does not exist will not be checked now, but file uploads will fail","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.35.bucketPlan.name","typeLabel":"string"},"path":{"type":"string","description":"This is the Supabase S3 Bucket Folder Path.\nThe user can create this in Supabase under Storage > Buckets\nA path that does not exist will not be checked now, but file uploads will fail\nA Path is like a folder in the bucket\nEg. If the bucket is called \"my-bucket\" and the path is \"my-folder\", the full path is \"my-bucket/my-folder\"","uniqueKey":"credentials.items.[INDEX].oneOf.35.bucketPlan.path","typeLabel":"string"}},"required":["region","url","accessKeyId","secretAccessKey","name"],"uniqueKey":"credentials.items.[INDEX].oneOf.35.bucketPlan","typeLabel":"object"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.35.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.35","typeLabel":"SupabaseCredential · object"},{"type":"object","title":"TavusCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["tavus"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.36.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.36.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.36.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.36","typeLabel":"TavusCredential · object"},{"type":"object","title":"TogetherAICredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["together-ai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.37.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.37.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.37.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.37","typeLabel":"TogetherAICredential · object"},{"type":"object","title":"TrieveCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","enum":["trieve"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.38.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.38.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.38.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.38","typeLabel":"TrieveCredential · object"},{"type":"object","title":"TwilioCredential","required":["provider","accountSid"],"properties":{"provider":{"type":"string","enum":["twilio"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.39.provider","typeLabel":"enum\u003cstring>"},"accountSid":{"type":"string","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.39.accountSid","typeLabel":"string"},"authToken":{"type":"string","description":"This is not returned in the API.","uniqueKey":"credentials.items.[INDEX].oneOf.39.authToken","typeLabel":"string"},"apiKey":{"type":"string","description":"This is not returned in the API.","uniqueKey":"credentials.items.[INDEX].oneOf.39.apiKey","typeLabel":"string"},"apiSecret":{"type":"string","description":"This is not returned in the API.","uniqueKey":"credentials.items.[INDEX].oneOf.39.apiSecret","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.39.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.39","typeLabel":"TwilioCredential · object"},{"type":"object","title":"VonageCredential","required":["provider","apiSecret","apiKey"],"properties":{"provider":{"type":"string","enum":["vonage"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.40.provider","typeLabel":"enum\u003cstring>"},"apiSecret":{"type":"string","description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.40.apiSecret","typeLabel":"string"},"apiKey":{"type":"string","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.40.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.40.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.40","typeLabel":"VonageCredential · object"},{"type":"object","title":"WebhookCredential","required":["provider","authenticationPlan"],"properties":{"provider":{"type":"string","enum":["webhook"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.provider","typeLabel":"enum\u003cstring>"},"authenticationPlan":{"oneOf":[{"type":"object","description":"This is the authentication plan. Supports OAuth2 RFC 6749 and HMAC signing.","required":["type","url","clientId","clientSecret"],"properties":{"type":{"type":"string","enum":["oauth2"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"This is the OAuth2 URL.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.0.url","typeLabel":"string"},"clientId":{"type":"string","description":"This is the OAuth2 client ID.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.0.clientId","typeLabel":"string"},"clientSecret":{"type":"string","description":"This is the OAuth2 client secret.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.0.clientSecret","typeLabel":"string"},"scope":{"type":"string","description":"This is the scope of the OAuth2 token.","maxLength":1000,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.0.scope","typeLabel":"string"}},"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.0","typeLabel":"object"},{"type":"object","description":"This is the authentication plan. Supports OAuth2 RFC 6749 and HMAC signing.","required":["type","secretKey","algorithm"],"properties":{"type":{"type":"string","enum":["hmac"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.type","typeLabel":"enum\u003cstring>"},"secretKey":{"type":"string","description":"This is the HMAC secret key used to sign requests.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.secretKey","typeLabel":"string"},"algorithm":{"type":"string","enum":["sha256","sha512","sha1"],"description":"This is the HMAC algorithm to use for signing.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.algorithm","typeLabel":"enum\u003cstring>"},"signatureHeader":{"type":"string","description":"This is the header name where the signature will be sent. Defaults to 'x-signature'.","uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.signatureHeader","typeLabel":"string"},"timestampHeader":{"type":"string","description":"This is the header name where the timestamp will be sent. Defaults to 'x-timestamp'.","uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.timestampHeader","typeLabel":"string"},"signaturePrefix":{"type":"string","description":"This is the prefix for the signature. For example, 'sha256=' for GitHub-style signatures.","uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.signaturePrefix","typeLabel":"string"},"includeTimestamp":{"type":"boolean","description":"Whether to include a timestamp in the signature payload. Defaults to true.","uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.includeTimestamp","typeLabel":"boolean"},"payloadFormat":{"type":"string","description":"Custom payload format. Use {body} for request body, {timestamp} for timestamp, {method} for HTTP method, {url} for URL, {svix-id} for unique message ID. Defaults to '{timestamp}.{body}'.","uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.payloadFormat","typeLabel":"string"},"messageIdHeader":{"type":"string","description":"This is the header name where the unique message ID will be sent. Used for Svix-style webhooks.","uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.messageIdHeader","typeLabel":"string"},"signatureEncoding":{"type":"string","enum":["hex","base64"],"description":"The encoding format for the signature. Defaults to 'hex'.","uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.signatureEncoding","typeLabel":"enum\u003cstring>"},"secretIsBase64":{"type":"boolean","description":"Whether the secret key is base64-encoded and should be decoded before use. Defaults to false.","uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1.secretIsBase64","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.41.authenticationPlan","typeLabel":"object"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.41.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.41","typeLabel":"WebhookCredential · object"},{"type":"object","title":"XAiCredential","required":["provider","apiKey"],"properties":{"provider":{"type":"string","description":"This is the api key for Grok in XAi's console. Get it from here: https://console.x.ai","enum":["xai"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.42.provider","typeLabel":"enum\u003cstring>"},"apiKey":{"type":"string","maxLength":10000,"description":"This is not returned in the API.","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.42.apiKey","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.42.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.42","typeLabel":"XAiCredential · object"},{"type":"object","title":"GoogleCalendarOAuth2ClientCredential","required":["provider"],"properties":{"provider":{"type":"string","enum":["google.calendar.oauth2-client"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.43.provider","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.43.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.43","typeLabel":"GoogleCalendarOAuth2ClientCredential · object"},{"type":"object","title":"GoogleCalendarOAuth2AuthorizationCredential","required":["provider","authorizationId"],"properties":{"provider":{"type":"string","enum":["google.calendar.oauth2-authorization"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.44.provider","typeLabel":"enum\u003cstring>"},"authorizationId":{"type":"string","description":"The authorization ID for the OAuth2 authorization","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.44.authorizationId","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.44.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.44","typeLabel":"GoogleCalendarOAuth2AuthorizationCredential · object"},{"type":"object","title":"GoogleSheetsOAuth2AuthorizationCredential","required":["provider","authorizationId"],"properties":{"provider":{"type":"string","enum":["google.sheets.oauth2-authorization"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.45.provider","typeLabel":"enum\u003cstring>"},"authorizationId":{"type":"string","description":"The authorization ID for the OAuth2 authorization","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.45.authorizationId","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.45.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.45","typeLabel":"GoogleSheetsOAuth2AuthorizationCredential · object"},{"type":"object","title":"SlackOAuth2AuthorizationCredential","required":["provider","authorizationId"],"properties":{"provider":{"type":"string","enum":["slack.oauth2-authorization"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.46.provider","typeLabel":"enum\u003cstring>"},"authorizationId":{"type":"string","description":"The authorization ID for the OAuth2 authorization","isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.46.authorizationId","typeLabel":"string"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.46.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.46","typeLabel":"SlackOAuth2AuthorizationCredential · object"},{"type":"object","title":"GoHighLevelMCPCredential","required":["provider","authenticationSession"],"properties":{"provider":{"type":"string","enum":["ghl.oauth2-authorization"],"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.47.provider","typeLabel":"enum\u003cstring>"},"authenticationSession":{"type":"object","description":"This is the authentication session for the credential.","properties":{"accessToken":{"type":"string","description":"This is the OAuth2 access token.","uniqueKey":"credentials.items.[INDEX].oneOf.47.authenticationSession.accessToken","typeLabel":"string"},"expiresAt":{"format":"date-time","type":"string","description":"This is the OAuth2 access token expiration.","uniqueKey":"credentials.items.[INDEX].oneOf.47.authenticationSession.expiresAt","typeLabel":"string\u003cdate-time>"},"refreshToken":{"type":"string","description":"This is the OAuth2 refresh token.","uniqueKey":"credentials.items.[INDEX].oneOf.47.authenticationSession.refreshToken","typeLabel":"string"}},"isRequired":true,"uniqueKey":"credentials.items.[INDEX].oneOf.47.authenticationSession","typeLabel":"object"},"name":{"type":"string","description":"This is the name of credential. This is just for your reference.","minLength":1,"maxLength":40,"uniqueKey":"credentials.items.[INDEX].oneOf.47.name","typeLabel":"string"}},"uniqueKey":"credentials.items.[INDEX].oneOf.47","typeLabel":"GoHighLevelMCPCredential · object"}],"uniqueKey":"credentials.items.[INDEX]","typeLabel":"AnthropicCredential · object | AnyscaleCredential · object | AssemblyAICredential · object | AzureCredential · object | AzureOpenAICredential · object | ByoSipTrunkCredential · object | CartesiaCredential · object | CerebrasCredential · object | CloudflareCredential · object | CustomLLMCredential · object | DeepgramCredential · object | DeepInfraCredential · object | DeepSeekCredential · object | ElevenLabsCredential · object | GcpCredential · object | GladiaCredential · object | GhlCredential · object | GoogleCredential · object | GroqCredential · object | HumeCredential · object | InflectionAICredential · object | LangfuseCredential · object | LmntCredential · object | MakeCredential · object | MistralCredential · object | NeuphonicCredential · object | OpenAICredential · object | OpenRouterCredential · object | PerplexityAICredential · object | PlayHTCredential · object | RimeAICredential · object | RunpodCredential · object | S3Credential · object | SmallestAICredential · object | SpeechmaticsCredential · object | SupabaseCredential · object | TavusCredential · object | TogetherAICredential · object | TrieveCredential · object | TwilioCredential · object | VonageCredential · object | WebhookCredential · object | XAiCredential · object | GoogleCalendarOAuth2ClientCredential · object | GoogleCalendarOAuth2AuthorizationCredential · object | GoogleSheetsOAuth2AuthorizationCredential · object | SlackOAuth2AuthorizationCredential · object | GoHighLevelMCPCredential · object"},"uniqueKey":"credentials","typeLabel":"(AnthropicCredential · object | AnyscaleCredential · object | AssemblyAICredential · object | AzureCredential · object | AzureOpenAICredential · object | ByoSipTrunkCredential · object | CartesiaCredential · object | CerebrasCredential · object | CloudflareCredential · object | CustomLLMCredential · object | DeepgramCredential · object | DeepInfraCredential · object | DeepSeekCredential · object | ElevenLabsCredential · object | GcpCredential · object | GladiaCredential · object | GhlCredential · object | GoogleCredential · object | GroqCredential · object | HumeCredential · object | InflectionAICredential · object | LangfuseCredential · object | LmntCredential · object | MakeCredential · object | MistralCredential · object | NeuphonicCredential · object | OpenAICredential · object | OpenRouterCredential · object | PerplexityAICredential · object | PlayHTCredential · object | RimeAICredential · object | RunpodCredential · object | S3Credential · object | SmallestAICredential · object | SpeechmaticsCredential · object | SupabaseCredential · object | TavusCredential · object | TogetherAICredential · object | TrieveCredential · object | TwilioCredential · object | VonageCredential · object | WebhookCredential · object | XAiCredential · object | GoogleCalendarOAuth2ClientCredential · object | GoogleCalendarOAuth2AuthorizationCredential · object | GoogleSheetsOAuth2AuthorizationCredential · object | SlackOAuth2AuthorizationCredential · object | GoHighLevelMCPCredential · object)[]"},"globalPrompt":{"type":"string","maxLength":5000,"uniqueKey":"globalPrompt","typeLabel":"string"},"server":{"type":"object","description":"This is where cozmox will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. tool.server\n2. workflow.server / assistant.server\n3. phoneNumber.server\n4. org.server","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"server.backoffPlan","typeLabel":"object"}},"uniqueKey":"server","typeLabel":"object"},"compliancePlan":{"type":"object","description":"This is the compliance plan for the workflow. It allows you to configure HIPAA and other compliance settings.","properties":{"hipaaEnabled":{"type":"boolean","description":"When this is enabled, no logs, recordings, or transcriptions will be stored.\nAt the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.","example":{"hipaaEnabled":false},"uniqueKey":"compliancePlan.hipaaEnabled","typeLabel":"boolean"},"pciEnabled":{"type":"boolean","description":"When this is enabled, the user will be restricted to use PCI-compliant providers, and no logs or transcripts are stored.\nAt the end of the call, you will receive an end-of-call-report message to store on your server. Defaults to false.","example":{"pciEnabled":false},"uniqueKey":"compliancePlan.pciEnabled","typeLabel":"boolean"}},"uniqueKey":"compliancePlan","typeLabel":"object"},"analysisPlan":{"type":"object","description":"This is the plan for analysis of workflow's calls. Stored in `call.analysis`.","properties":{"minMessagesThreshold":{"type":"number","description":"The minimum number of messages required to run the analysis plan.\nIf the number of messages is less than this, analysis will be skipped.\n@default 2","minimum":0,"uniqueKey":"analysisPlan.minMessagesThreshold","typeLabel":"number"},"summaryPlan":{"type":"object","description":"This is the plan for generating the summary of the call. This outputs to `call.analysis.summary`.","properties":{"messages":{"description":"These are the messages used to generate the summary.\n\n@default: ```\n[\n {\n \"role\": \"system\",\n \"content\": \"You are an expert note-taker. You will be given a transcript of a call. Summarize the call in 2-3 sentences. DO NOT return anything except the summary.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Here is the transcript:\\n\\n{{transcript}}\\n\\n. Here is the ended reason of the call:\\n\\n{{endedReason}}\\n\\n\"\n }\n]```\n\nYou can customize by providing any messages you want.\n\nHere are the template variables available:\n- {{transcript}}: The transcript of the call from `call.artifact.transcript` \n- {{systemPrompt}}: The system prompt of the call from `assistant.model.messages[type=system].content` \n- {{endedReason}}: The ended reason of the call from `call.endedReason`","type":"array","items":{"type":"object","uniqueKey":"analysisPlan.summaryPlan.messages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"analysisPlan.summaryPlan.messages","typeLabel":"object[]"},"enabled":{"type":"boolean","description":"This determines whether a summary is generated and stored in `call.analysis.summary`. Defaults to true.\n\nUsage:\n- If you want to disable the summary, set this to false.\n\n@default true","uniqueKey":"analysisPlan.summaryPlan.enabled","typeLabel":"boolean"},"timeoutSeconds":{"type":"number","description":"This is how long the request is tried before giving up. When request times out, `call.analysis.summary` will be empty.\n\nUsage:\n- To guarantee the summary is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond.\n\n@default 5 seconds","minimum":1,"maximum":60,"uniqueKey":"analysisPlan.summaryPlan.timeoutSeconds","typeLabel":"number"}},"uniqueKey":"analysisPlan.summaryPlan","typeLabel":"object"},"structuredDataPlan":{"type":"object","description":"This is the plan for generating the structured data from the call. This outputs to `call.analysis.structuredData`.","properties":{"messages":{"description":"These are the messages used to generate the structured data.\n\n@default: ```\n[\n {\n \"role\": \"system\",\n \"content\": \"You are an expert data extractor. You will be given a transcript of a call. Extract structured data per the JSON Schema. DO NOT return anything except the structured data.\\n\\nJson Schema:\\\\n{{schema}}\\n\\nOnly respond with the JSON.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Here is the transcript:\\n\\n{{transcript}}\\n\\n. Here is the ended reason of the call:\\n\\n{{endedReason}}\\n\\n\"\n }\n]```\n\nYou can customize by providing any messages you want.\n\nHere are the template variables available:\n- {{transcript}}: the transcript of the call from `call.artifact.transcript`- {{systemPrompt}}: the system prompt of the call from `assistant.model.messages[type=system].content`- {{schema}}: the schema of the structured data from `structuredDataPlan.schema`- {{endedReason}}: the ended reason of the call from `call.endedReason`","type":"array","items":{"type":"object","uniqueKey":"analysisPlan.structuredDataPlan.messages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"analysisPlan.structuredDataPlan.messages","typeLabel":"object[]"},"enabled":{"type":"boolean","description":"This determines whether structured data is generated and stored in `call.analysis.structuredData`. Defaults to false.\n\nUsage:\n- If you want to extract structured data, set this to true and provide a `schema`.\n\n@default false","uniqueKey":"analysisPlan.structuredDataPlan.enabled","typeLabel":"boolean"},"schema":{"type":"object","description":"This is the schema of the structured data. The output is stored in `call.analysis.structuredData`.\n\nComplete guide on JSON Schema can be found [here](https://ajv.js.org/json-schema.html#json-data-type).","required":["type"],"properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"analysisPlan.structuredDataPlan.schema.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"analysisPlan.structuredDataPlan.schema.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"analysisPlan.structuredDataPlan.schema.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"analysisPlan.structuredDataPlan.schema.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"analysisPlan.structuredDataPlan.schema.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"analysisPlan.structuredDataPlan.schema.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"analysisPlan.structuredDataPlan.schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysisPlan.structuredDataPlan.schema.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"analysisPlan.structuredDataPlan.schema.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysisPlan.structuredDataPlan.schema.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"analysisPlan.structuredDataPlan.schema.title","typeLabel":"string"}},"uniqueKey":"analysisPlan.structuredDataPlan.schema","typeLabel":"object"},"timeoutSeconds":{"type":"number","description":"This is how long the request is tried before giving up. When request times out, `call.analysis.structuredData` will be empty.\n\nUsage:\n- To guarantee the structured data is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond.\n\n@default 5 seconds","minimum":1,"maximum":60,"uniqueKey":"analysisPlan.structuredDataPlan.timeoutSeconds","typeLabel":"number"}},"uniqueKey":"analysisPlan.structuredDataPlan","typeLabel":"object"},"structuredDataMultiPlan":{"description":"This is an array of structured data plan catalogs. Each entry includes a `key` and a `plan` for generating the structured data from the call. This outputs to `call.analysis.structuredDataMulti`.","type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"This is the key of the structured data plan in the catalog.","isRequired":true,"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].key","typeLabel":"string"},"plan":{"type":"object","description":"This is an individual structured data plan in the catalog.","properties":{"messages":{"description":"These are the messages used to generate the structured data.\n\n@default: ```\n[\n {\n \"role\": \"system\",\n \"content\": \"You are an expert data extractor. You will be given a transcript of a call. Extract structured data per the JSON Schema. DO NOT return anything except the structured data.\\n\\nJson Schema:\\\\n{{schema}}\\n\\nOnly respond with the JSON.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Here is the transcript:\\n\\n{{transcript}}\\n\\n. Here is the ended reason of the call:\\n\\n{{endedReason}}\\n\\n\"\n }\n]```\n\nYou can customize by providing any messages you want.\n\nHere are the template variables available:\n- {{transcript}}: the transcript of the call from `call.artifact.transcript`- {{systemPrompt}}: the system prompt of the call from `assistant.model.messages[type=system].content`- {{schema}}: the schema of the structured data from `structuredDataPlan.schema`- {{endedReason}}: the ended reason of the call from `call.endedReason`","type":"array","items":{"type":"object","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.messages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.messages","typeLabel":"object[]"},"enabled":{"type":"boolean","description":"This determines whether structured data is generated and stored in `call.analysis.structuredData`. Defaults to false.\n\nUsage:\n- If you want to extract structured data, set this to true and provide a `schema`.\n\n@default false","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.enabled","typeLabel":"boolean"},"schema":{"type":"object","description":"This is the schema of the structured data. The output is stored in `call.analysis.structuredData`.\n\nComplete guide on JSON Schema can be found [here](https://ajv.js.org/json-schema.html#json-data-type).","required":["type"],"properties":{"type":{"type":"string","description":"This is the type of output you'd like.\n\n`string`, `number`, `integer`, `boolean` are the primitive types and should be obvious.\n\n`array` and `object` are more interesting and quite powerful. They allow you to define nested structures.\n\nFor `array`, you can define the schema of the items in the array using the `items` property.\n\nFor `object`, you can define the properties of the object using the `properties` property.","enum":["string","number","integer","boolean","array","object"],"isRequired":true,"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.type","typeLabel":"enum\u003cstring>"},"items":{"type":"object","description":"This is required if the type is \"array\". This is the schema of the items in the array.\n\nThis is of type JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.\\items","typeLabel":"object"},"properties":{"type":"object","description":"This is required if the type is \"object\". This specifies the properties of the object.\n\nThis is a map of string to JsonSchema. However, Swagger doesn't support circular references.","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.properties","typeLabel":"object"},"description":{"type":"string","description":"This is the description to help the model understand what it needs to output.","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.description","typeLabel":"string"},"pattern":{"type":"string","description":"This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.pattern","typeLabel":"string"},"format":{"type":"string","description":"This is the format of the string. To pass a regex, use the `pattern` property instead.\n\nOpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat\u0026type-restrictions=string-restrictions","enum":["date-time","time","date","duration","email","hostname","ipv4","ipv6","uuid"],"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.format","typeLabel":"enum\u003cstring>"},"required":{"description":"This is a list of properties that are required.\n\nThis only makes sense if the type is \"object\".","type":"array","items":{"type":"string","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.required","typeLabel":"string[]"},"enum":{"description":"This array specifies the allowed values that can be used to restrict the output of the model.","type":"array","items":{"type":"string","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.enum","typeLabel":"string[]"},"title":{"type":"string","description":"This is the title of the schema.","uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema.title","typeLabel":"string"}},"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.schema","typeLabel":"object"},"timeoutSeconds":{"type":"number","description":"This is how long the request is tried before giving up. When request times out, `call.analysis.structuredData` will be empty.\n\nUsage:\n- To guarantee the structured data is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond.\n\n@default 5 seconds","minimum":1,"maximum":60,"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan.timeoutSeconds","typeLabel":"number"}},"isRequired":true,"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX].plan","typeLabel":"object"}},"required":["key","plan"],"uniqueKey":"analysisPlan.structuredDataMultiPlan.items.[INDEX]","typeLabel":"object"},"uniqueKey":"analysisPlan.structuredDataMultiPlan","typeLabel":"object[]"},"successEvaluationPlan":{"type":"object","description":"This is the plan for generating the success evaluation of the call. This outputs to `call.analysis.successEvaluation`.","properties":{"rubric":{"type":"string","enum":["NumericScale","DescriptiveScale","Checklist","Matrix","PercentageScale","LikertScale","AutomaticRubric","PassFail"],"description":"This enforces the rubric of the evaluation. The output is stored in `call.analysis.successEvaluation`.\n\nOptions include:\n- 'NumericScale': A scale of 1 to 10.\n- 'DescriptiveScale': A scale of Excellent, Good, Fair, Poor.\n- 'Checklist': A checklist of criteria and their status.\n- 'Matrix': A grid that evaluates multiple criteria across different performance levels.\n- 'PercentageScale': A scale of 0% to 100%.\n- 'LikertScale': A scale of Strongly Agree, Agree, Neutral, Disagree, Strongly Disagree.\n- 'AutomaticRubric': Automatically break down evaluation into several criteria, each with its own score.\n- 'PassFail': A simple 'true' if call passed, 'false' if not.\n\nDefault is 'PassFail'.","uniqueKey":"analysisPlan.successEvaluationPlan.rubric","typeLabel":"enum\u003cstring>"},"messages":{"description":"These are the messages used to generate the success evaluation.\n\n@default: ```\n[\n {\n \"role\": \"system\",\n \"content\": \"You are an expert call evaluator. You will be given a transcript of a call and the system prompt of the AI participant. Determine if the call was successful based on the objectives inferred from the system prompt. DO NOT return anything except the result.\\n\\nRubric:\\\\n{{rubric}}\\n\\nOnly respond with the result.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Here is the transcript:\\n\\n{{transcript}}\\n\\n\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Here was the system prompt of the call:\\n\\n{{systemPrompt}}\\n\\n. Here is the ended reason of the call:\\n\\n{{endedReason}}\\n\\n\"\n }\n]```\n\nYou can customize by providing any messages you want.\n\nHere are the template variables available:\n- {{transcript}}: the transcript of the call from `call.artifact.transcript`- {{systemPrompt}}: the system prompt of the call from `assistant.model.messages[type=system].content`- {{rubric}}: the rubric of the success evaluation from `successEvaluationPlan.rubric`- {{endedReason}}: the ended reason of the call from `call.endedReason`","type":"array","items":{"type":"object","uniqueKey":"analysisPlan.successEvaluationPlan.messages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"analysisPlan.successEvaluationPlan.messages","typeLabel":"object[]"},"enabled":{"type":"boolean","description":"This determines whether a success evaluation is generated and stored in `call.analysis.successEvaluation`. Defaults to true.\n\nUsage:\n- If you want to disable the success evaluation, set this to false.\n\n@default true","uniqueKey":"analysisPlan.successEvaluationPlan.enabled","typeLabel":"boolean"},"timeoutSeconds":{"type":"number","description":"This is how long the request is tried before giving up. When request times out, `call.analysis.successEvaluation` will be empty.\n\nUsage:\n- To guarantee the success evaluation is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond.\n\n@default 5 seconds","minimum":1,"maximum":60,"uniqueKey":"analysisPlan.successEvaluationPlan.timeoutSeconds","typeLabel":"number"}},"uniqueKey":"analysisPlan.successEvaluationPlan","typeLabel":"object"}},"uniqueKey":"analysisPlan","typeLabel":"object"},"artifactPlan":{"type":"object","description":"This is the plan for artifacts generated during workflow's calls. Stored in `call.artifact`.","properties":{"recordingEnabled":{"type":"boolean","description":"This determines whether assistant's calls are recorded. Defaults to true.\n\nUsage:\n- If you don't want to record the calls, set this to false.\n- If you want to record the calls when `assistant.hipaaEnabled` (deprecated) or `assistant.compliancePlan.hipaaEnabled` explicity set this to true and make sure to provide S3 or GCP credentials on the Provider Credentials page in the Dashboard.\n\nYou can find the recording at `call.artifact.recordingUrl` and `call.artifact.stereoRecordingUrl` after the call is ended.\n\n@default true","example":true,"uniqueKey":"artifactPlan.recordingEnabled","typeLabel":"boolean"},"recordingFormat":{"type":"string","description":"This determines the format of the recording. Defaults to `wav;l16`.\n\n@default 'wav;l16'","enum":["wav;l16","mp3"],"uniqueKey":"artifactPlan.recordingFormat","typeLabel":"enum\u003cstring>"},"videoRecordingEnabled":{"type":"boolean","description":"This determines whether the video is recorded during the call. Defaults to false. Only relevant for `webCall` type.\n\nYou can find the video recording at `call.artifact.videoRecordingUrl` after the call is ended.\n\n@default false","example":false,"uniqueKey":"artifactPlan.videoRecordingEnabled","typeLabel":"boolean"},"pcapEnabled":{"type":"boolean","description":"This determines whether the SIP packet capture is enabled. Defaults to true. Only relevant for `phone` type calls where phone number's provider is `cozmox` or `byo-phone-number`.\n\nYou can find the packet capture at `call.artifact.pcapUrl` after the call is ended.\n\n@default true","example":true,"uniqueKey":"artifactPlan.pcapEnabled","typeLabel":"boolean"},"pcapS3PathPrefix":{"type":"string","description":"This is the path where the SIP packet capture will be uploaded. This is only used if you have provided S3 or GCP credentials on the Provider Credentials page in the Dashboard.\n\nIf credential.s3PathPrefix or credential.bucketPlan.path is set, this will append to it.\n\nUsage:\n- If you want to upload the packet capture to a specific path, set this to the path. Example: `/my-assistant-captures`.\n- If you want to upload the packet capture to the root of the bucket, set this to `/`.\n\n@default '/'","example":"/pcaps","uniqueKey":"artifactPlan.pcapS3PathPrefix","typeLabel":"string"},"transcriptPlan":{"type":"object","description":"This is the plan for `call.artifact.transcript`. To disable, set `transcriptPlan.enabled` to false.","properties":{"enabled":{"type":"boolean","description":"This determines whether the transcript is stored in `call.artifact.transcript`. Defaults to true.\n\n@default true","example":true,"uniqueKey":"artifactPlan.transcriptPlan.enabled","typeLabel":"boolean"},"assistantName":{"type":"string","description":"This is the name of the assistant in the transcript. Defaults to 'AI'.\n\nUsage:\n- If you want to change the name of the assistant in the transcript, set this. Example, here is what the transcript would look like with `assistantName` set to 'Buyer':\n```\nUser: Hello, how are you?\nBuyer: I'm fine.\nUser: Do you want to buy a car?\nBuyer: No.\n```\n\n@default 'AI'","uniqueKey":"artifactPlan.transcriptPlan.assistantName","typeLabel":"string"},"userName":{"type":"string","description":"This is the name of the user in the transcript. Defaults to 'User'.\n\nUsage:\n- If you want to change the name of the user in the transcript, set this. Example, here is what the transcript would look like with `userName` set to 'Seller':\n```\nSeller: Hello, how are you?\nAI: I'm fine.\nSeller: Do you want to buy a car?\nAI: No.\n```\n\n@default 'User'","uniqueKey":"artifactPlan.transcriptPlan.userName","typeLabel":"string"}},"uniqueKey":"artifactPlan.transcriptPlan","typeLabel":"object"},"recordingPath":{"type":"string","description":"This is the path where the recording will be uploaded. This is only used if you have provided S3 or GCP credentials on the Provider Credentials page in the Dashboard.\n\nIf credential.s3PathPrefix or credential.bucketPlan.path is set, this will append to it.\n\nUsage:\n- If you want to upload the recording to a specific path, set this to the path. Example: `/my-assistant-recordings`.\n- If you want to upload the recording to the root of the bucket, set this to `/`.\n\n@default '/'","uniqueKey":"artifactPlan.recordingPath","typeLabel":"string"}},"uniqueKey":"artifactPlan","typeLabel":"object"},"startSpeakingPlan":{"type":"object","description":"This is the plan for when the workflow nodes should start talking.\n\nYou should configure this if you're running into these issues:\n- The assistant is too slow to start talking after the customer is done speaking.\n- The assistant is too fast to start talking after the customer is done speaking.\n- The assistant is so fast that it's actually interrupting the customer.","properties":{"waitSeconds":{"type":"number","description":"This is how long assistant waits before speaking. Defaults to 0.4.\n\nThis is the minimum it will wait but if there is latency is the pipeline, this minimum will be exceeded. This is intended as a stopgap in case the pipeline is moving too fast.\n\nExample:\n- If model generates tokens and voice generates bytes within 100ms, the pipeline still waits 300ms before outputting speech.\n\nUsage:\n- If the customer is taking long pauses, set this to a higher value.\n- If the assistant is accidentally jumping in too much, set this to a higher value.\n\n@default 0.4","minimum":0,"maximum":5,"example":0.4,"uniqueKey":"startSpeakingPlan.waitSeconds","typeLabel":"number"},"smartEndpointingEnabled":{"oneOf":[{"type":"boolean","deprecated":true,"example":false,"uniqueKey":"startSpeakingPlan.smartEndpointingEnabled.oneOf.0","typeLabel":"boolean"},{"type":"string","enum":["livekit"],"deprecated":true,"example":false,"uniqueKey":"startSpeakingPlan.smartEndpointingEnabled.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"startSpeakingPlan.smartEndpointingEnabled","typeLabel":"boolean | enum\u003cstring>"},"smartEndpointingPlan":{"oneOf":[{"type":"object","title":"cozmox","description":"This is the plan for smart endpointing. Pick between cozmox smart endpointing or LiveKit smart endpointing (or nothing). We strongly recommend using livekit endpointing when working in English. LiveKit endpointing is not supported in other languages, yet.\n\nIf this is set, it will override and take precedence over `transcriptionEndpointingPlan`.\nThis plan will still be overridden by any matching `customEndpointingRules`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the provider for the smart endpointing plan.","enum":["cozmox","livekit","custom-endpointing-model"],"example":"cozmox","isRequired":true,"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.0.provider","typeLabel":"enum\u003cstring>"}},"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.0","typeLabel":"cozmox · object"},{"type":"object","title":"Livekit","description":"This is the plan for smart endpointing. Pick between cozmox smart endpointing or LiveKit smart endpointing (or nothing). We strongly recommend using livekit endpointing when working in English. LiveKit endpointing is not supported in other languages, yet.\n\nIf this is set, it will override and take precedence over `transcriptionEndpointingPlan`.\nThis plan will still be overridden by any matching `customEndpointingRules`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the provider for the smart endpointing plan.","enum":["cozmox","livekit","custom-endpointing-model"],"example":"livekit","isRequired":true,"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.1.provider","typeLabel":"enum\u003cstring>"},"waitFunction":{"type":"string","description":"This expression describes how long the bot will wait to start speaking based on the likelihood that the user has reached an endpoint.\n\nThis is a millisecond valued function. It maps probabilities (real numbers on [0,1]) to milliseconds that the bot should wait before speaking ([0, \\infty]). Any negative values that are returned are set to zero (the bot can't start talking in the past).\n\nA probability of zero represents very high confidence that the caller has stopped speaking, and would like the bot to speak to them. A probability of one represents very high confidence that the caller is still speaking.\n\nUnder the hood, this is parsed into a mathjs expression. Whatever you use to write your expression needs to be valid with respect to mathjs\n\n@default \"20 + 500 * sqrt(x) + 2500 * x^3\"","example":["70 + 4000 * x","200 + 8000 * x","4000 * (1 - cos(pi * x))"],"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.1.waitFunction","typeLabel":"string"}},"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.1","typeLabel":"Livekit · object"},{"type":"object","title":"Custom Endpointing Model","description":"This is the plan for smart endpointing. Pick between cozmox smart endpointing or LiveKit smart endpointing (or nothing). We strongly recommend using livekit endpointing when working in English. LiveKit endpointing is not supported in other languages, yet.\n\nIf this is set, it will override and take precedence over `transcriptionEndpointingPlan`.\nThis plan will still be overridden by any matching `customEndpointingRules`.","required":["provider"],"properties":{"provider":{"type":"string","description":"This is the provider for the smart endpointing plan. Use `custom-endpointing-model` for custom endpointing providers that are not natively supported.","enum":["cozmox","livekit","custom-endpointing-model"],"example":"custom-endpointing-model","isRequired":true,"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.provider","typeLabel":"enum\u003cstring>"},"server":{"type":"object","description":"This is where the endpointing request will be sent. If not provided, will be sent to `assistant.server`. If that does not exist either, will be sent to `org.server`.\n\nRequest Example:\n\nPOST https://{server.url}\nContent-Type: application/json\n\n{\n \"message\": {\n \"type\": \"call.endpointing.request\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"message\": \"Hello, how are you?\",\n \"time\": 1234567890,\n \"secondsFromStart\": 0\n }\n ],\n ...other metadata about the call...\n }\n}\n\nResponse Expected:\n{\n \"timeoutSeconds\": 0.5\n}\n\nThe timeout is the number of seconds to wait before considering the user's speech as finished. The endpointing timeout is automatically reset each time a new transcript is received (and another `call.endpointing.request` is sent).","properties":{"timeoutSeconds":{"type":"number","description":"This is the timeout in seconds for the request. Defaults to 20 seconds.\n\n@default 20","minimum":1,"maximum":300,"example":20,"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.server.timeoutSeconds","typeLabel":"number"},"url":{"type":"string","description":"This is where the request will be sent.","uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.server.url","typeLabel":"string"},"headers":{"type":"object","description":"These are the headers to include in the request.\n\nEach key-value pair represents a header name and its value.","uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.server.headers","typeLabel":"object"},"backoffPlan":{"type":"object","description":"This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried).\n\n@default undefined (the request will not be retried)","required":["type","maxRetries","baseDelaySeconds"],"properties":{"type":{"type":"object","description":"This is the type of backoff plan to use. Defaults to fixed.\n\n@default fixed","enum":["fixed","exponential"],"example":"fixed","isRequired":true,"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.server.backoffPlan.type","typeLabel":"object"},"maxRetries":{"type":"number","description":"This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries).\n\n@default 0","minimum":0,"maximum":10,"example":0,"isRequired":true,"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.server.backoffPlan.maxRetries","typeLabel":"number"},"baseDelaySeconds":{"type":"number","description":"This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.","minimum":0,"maximum":10,"example":1,"isRequired":true,"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.server.backoffPlan.baseDelaySeconds","typeLabel":"number"}},"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.server.backoffPlan","typeLabel":"object"}},"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2.server","typeLabel":"object"}},"uniqueKey":"startSpeakingPlan.smartEndpointingPlan.oneOf.2","typeLabel":"Custom Endpointing Model · object"}],"uniqueKey":"startSpeakingPlan.smartEndpointingPlan","typeLabel":"cozmox · object | Livekit · object | Custom Endpointing Model · object"},"customEndpointingRules":{"type":"array","description":"These are the custom endpointing rules to set an endpointing timeout based on a regex on the customer's speech or the assistant's last message.\n\nUsage:\n- If you have yes/no questions like \"are you interested in a loan?\", you can set a shorter timeout.\n- If you have questions where the customer may pause to look up information like \"what's my account number?\", you can set a longer timeout.\n- If you want to wait longer while customer is enumerating a list of numbers, you can set a longer timeout.\n\nThese rules have the highest precedence and will override both `smartEndpointingPlan` and `transcriptionEndpointingPlan` when a rule is matched.\n\nThe rules are evaluated in order and the first one that matches will be used.\n\nOrder of precedence for endpointing:\n1. customEndpointingRules (if any match)\n2. smartEndpointingPlan (if set)\n3. transcriptionEndpointingPlan\n\n@default []","items":{"oneOf":[{"type":"object","title":"Assistant","required":["type","regex","timeoutSeconds"],"properties":{"type":{"type":"string","description":"This endpointing rule is based on the last assistant message before customer started speaking.\n\nFlow:\n- Assistant speaks\n- Customer starts speaking\n- Customer transcription comes in\n- This rule is evaluated on the last assistant message\n- If a match is found based on `regex`, the endpointing timeout is set to `timeoutSeconds`\n\nUsage:\n- If you have yes/no questions in your use case like \"are you interested in a loan?\", you can set a shorter timeout.\n- If you have questions where the customer may pause to look up information like \"what's my account number?\", you can set a longer timeout.","enum":["assistant"],"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to match.\n\nNote:\n- This works by using the `RegExp.test` method in Node.JS. Eg. `/hello/.test(\"hello there\")` will return `true`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.\n- `RegExp.test` does substring matching, so `/cat/.test(\"I love cats\")` will return `true`. To do full string matching, send \"^cat$\".","isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.0.regex","typeLabel":"string"},"timeoutSeconds":{"type":"number","description":"This is the endpointing timeout in seconds, if the rule is matched.","minimum":0,"maximum":15,"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.0.timeoutSeconds","typeLabel":"number"},"regexOptions":{"description":"These are the options for the regex match. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.0.regexOptions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.0.regexOptions.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.0.regexOptions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.0.regexOptions","typeLabel":"object[]"}},"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.0","typeLabel":"Assistant · object"},{"type":"object","title":"Customer","required":["type","regex","timeoutSeconds"],"properties":{"type":{"type":"string","description":"This endpointing rule is based on current customer message as they are speaking.\n\nFlow:\n- Assistant speaks\n- Customer starts speaking\n- Customer transcription comes in\n- This rule is evaluated on the current customer transcription\n- If a match is found based on `regex`, the endpointing timeout is set to `timeoutSeconds`\n\nUsage:\n- If you want to wait longer while customer is speaking numbers, you can set a longer timeout.","enum":["customer"],"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"regex":{"type":"string","description":"This is the regex pattern to match.\n\nNote:\n- This works by using the `RegExp.test` method in Node.JS. Eg. `/hello/.test(\"hello there\")` will return `true`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.\n- `RegExp.test` does substring matching, so `/cat/.test(\"I love cats\")` will return `true`. To do full string matching, send \"^cat$\".","isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.1.regex","typeLabel":"string"},"timeoutSeconds":{"type":"number","description":"This is the endpointing timeout in seconds, if the rule is matched.","minimum":0,"maximum":15,"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.1.timeoutSeconds","typeLabel":"number"},"regexOptions":{"description":"These are the options for the regex match. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.1.regexOptions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.1.regexOptions.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.1.regexOptions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.1.regexOptions","typeLabel":"object[]"}},"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.1","typeLabel":"Customer · object"},{"type":"object","title":"Both","required":["type","assistantRegex","customerRegex","timeoutSeconds"],"properties":{"type":{"type":"string","description":"This endpointing rule is based on both the last assistant message and the current customer message as they are speaking.\n\nFlow:\n- Assistant speaks\n- Customer starts speaking\n- Customer transcription comes in\n- This rule is evaluated on the last assistant message and the current customer transcription\n- If assistant message matches `assistantRegex` AND customer message matches `customerRegex`, the endpointing timeout is set to `timeoutSeconds`\n\nUsage:\n- If you want to wait longer while customer is speaking numbers, you can set a longer timeout.","enum":["both"],"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"assistantRegex":{"type":"string","description":"This is the regex pattern to match the assistant's message.\n\nNote:\n- This works by using the `RegExp.test` method in Node.JS. Eg. `/hello/.test(\"hello there\")` will return `true`.\n\nHot tip:\n- In JavaScript, escape `\\` when sending the regex pattern. Eg. `\"hello\\sthere\"` will be sent over the wire as `\"hellosthere\"`. Send `\"hello\\\\sthere\"` instead.\n- `RegExp.test` does substring matching, so `/cat/.test(\"I love cats\")` will return `true`. To do full string matching, send \"^cat$\".","isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.assistantRegex","typeLabel":"string"},"customerRegex":{"type":"string","isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.customerRegex","typeLabel":"string"},"timeoutSeconds":{"type":"number","description":"This is the endpointing timeout in seconds, if the rule is matched.","minimum":0,"maximum":15,"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.timeoutSeconds","typeLabel":"number"},"assistantRegexOptions":{"description":"These are the options for the assistant's message regex match. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.assistantRegexOptions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.assistantRegexOptions.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.assistantRegexOptions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.assistantRegexOptions","typeLabel":"object[]"},"customerRegexOptions":{"description":"These are the options for the customer's message regex match. Defaults to all disabled.\n\n@default []","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"This is the type of the regex option. Options are:\n- `ignore-case`: Ignores the case of the text being matched. Add\n- `whole-word`: Matches whole words only.\n- `multi-line`: Matches across multiple lines.","enum":["ignore-case","whole-word","multi-line"],"isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.customerRegexOptions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"This is whether to enable the option.\n\n@default false","isRequired":true,"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.customerRegexOptions.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["type","enabled"],"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.customerRegexOptions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2.customerRegexOptions","typeLabel":"object[]"}},"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX].oneOf.2","typeLabel":"Both · object"}],"uniqueKey":"startSpeakingPlan.customEndpointingRules.items.[INDEX]","typeLabel":"Assistant · object | Customer · object | Both · object"},"uniqueKey":"startSpeakingPlan.customEndpointingRules","typeLabel":"(Assistant · object | Customer · object | Both · object)[]"},"transcriptionEndpointingPlan":{"type":"object","description":"This determines how a customer speech is considered done (endpointing) using the transcription of customer's speech.\n\nOnce an endpoint is triggered, the request is sent to `assistant.model`.\n\nNote: This plan is only used if `smartEndpointingPlan` is not set. If both are provided, `smartEndpointingPlan` takes precedence.\nThis plan will also be overridden by any matching `customEndpointingRules`.","properties":{"onPunctuationSeconds":{"type":"number","description":"The minimum number of seconds to wait after transcription ending with punctuation before sending a request to the model. Defaults to 0.1.\n\nThis setting exists because the transcriber punctuates the transcription when it's more confident that customer has completed a thought.\n\n@default 0.1","minimum":0,"maximum":3,"example":0.1,"uniqueKey":"startSpeakingPlan.transcriptionEndpointingPlan.onPunctuationSeconds","typeLabel":"number"},"onNoPunctuationSeconds":{"type":"number","description":"The minimum number of seconds to wait after transcription ending without punctuation before sending a request to the model. Defaults to 1.5.\n\nThis setting exists to catch the cases where the transcriber was not confident enough to punctuate the transcription, but the customer is done and has been silent for a long time.\n\n@default 1.5","minimum":0,"maximum":3,"example":1.5,"uniqueKey":"startSpeakingPlan.transcriptionEndpointingPlan.onNoPunctuationSeconds","typeLabel":"number"},"onNumberSeconds":{"type":"number","description":"The minimum number of seconds to wait after transcription ending with a number before sending a request to the model. Defaults to 0.4.\n\nThis setting exists because the transcriber will sometimes punctuate the transcription ending with a number, even though the customer hasn't uttered the full number. This happens commonly for long numbers when the customer reads the number in chunks.\n\n@default 0.5","minimum":0,"maximum":3,"example":0.5,"uniqueKey":"startSpeakingPlan.transcriptionEndpointingPlan.onNumberSeconds","typeLabel":"number"}},"uniqueKey":"startSpeakingPlan.transcriptionEndpointingPlan","typeLabel":"object"}},"uniqueKey":"startSpeakingPlan","typeLabel":"object"},"stopSpeakingPlan":{"type":"object","description":"This is the plan for when workflow nodes should stop talking on customer interruption.\n\nYou should configure this if you're running into these issues:\n- The assistant is too slow to recognize customer's interruption.\n- The assistant is too fast to recognize customer's interruption.\n- The assistant is getting interrupted by phrases that are just acknowledgments.\n- The assistant is getting interrupted by background noises.\n- The assistant is not properly stopping -- it starts talking right after getting interrupted.","properties":{"numWords":{"type":"number","description":"This is the number of words that the customer has to say before the assistant will stop talking.\n\nWords like \"stop\", \"actually\", \"no\", etc. will always interrupt immediately regardless of this value.\n\nWords like \"okay\", \"yeah\", \"right\" will never interrupt.\n\nWhen set to 0, `voiceSeconds` is used in addition to the transcriptions to determine the customer has started speaking.\n\nDefaults to 0.\n\n@default 0","minimum":0,"maximum":10,"example":0,"uniqueKey":"stopSpeakingPlan.numWords","typeLabel":"number"},"voiceSeconds":{"type":"number","description":"This is the seconds customer has to speak before the assistant stops talking. This uses the VAD (Voice Activity Detection) spike to determine if the customer has started speaking.\n\nConsiderations:\n- A lower value might be more responsive but could potentially pick up non-speech sounds.\n- A higher value reduces false positives but might slightly delay the detection of speech onset.\n\nThis is only used if `numWords` is set to 0.\n\nDefaults to 0.2\n\n@default 0.2","minimum":0,"maximum":0.5,"example":0.2,"uniqueKey":"stopSpeakingPlan.voiceSeconds","typeLabel":"number"},"backoffSeconds":{"type":"number","description":"This is the seconds to wait before the assistant will start talking again after being interrupted.\n\nDefaults to 1.\n\n@default 1","minimum":0,"maximum":10,"example":1,"uniqueKey":"stopSpeakingPlan.backoffSeconds","typeLabel":"number"},"acknowledgementPhrases":{"description":"These are the phrases that will never interrupt the assistant, even if numWords threshold is met.\nThese are typically acknowledgement or backchanneling phrases.","example":["i understand","i see","i got it","i hear you","im listening","im with you","right","okay","ok","sure","alright","got it","understood","yeah","yes","uh-huh","mm-hmm","gotcha","mhmm","ah","yeah okay","yeah sure"],"default":["i understand","i see","i got it","i hear you","im listening","im with you","right","okay","ok","sure","alright","got it","understood","yeah","yes","uh-huh","mm-hmm","gotcha","mhmm","ah","yeah okay","yeah sure"],"type":"array","items":{"type":"string","maxLength":240,"uniqueKey":"stopSpeakingPlan.acknowledgementPhrases.items.[INDEX]","typeLabel":"string"},"uniqueKey":"stopSpeakingPlan.acknowledgementPhrases","typeLabel":"string[]"},"interruptionPhrases":{"description":"These are the phrases that will always interrupt the assistant immediately, regardless of numWords.\nThese are typically phrases indicating disagreement or desire to stop.","example":["stop","shut","up","enough","quiet","silence","but","dont","not","no","hold","wait","cut","pause","nope","nah","nevermind","never","bad","actually"],"default":["stop","shut","up","enough","quiet","silence","but","dont","not","no","hold","wait","cut","pause","nope","nah","nevermind","never","bad","actually"],"type":"array","items":{"type":"string","maxLength":240,"uniqueKey":"stopSpeakingPlan.interruptionPhrases.items.[INDEX]","typeLabel":"string"},"uniqueKey":"stopSpeakingPlan.interruptionPhrases","typeLabel":"string[]"}},"uniqueKey":"stopSpeakingPlan","typeLabel":"object"},"monitorPlan":{"type":"object","description":"This is the plan for real-time monitoring of the workflow's calls.\n\nUsage:\n- To enable live listening of the workflow's calls, set `monitorPlan.listenEnabled` to `true`.\n- To enable live control of the workflow's calls, set `monitorPlan.controlEnabled` to `true`.","properties":{"listenEnabled":{"type":"boolean","description":"This determines whether the assistant's calls allow live listening. Defaults to true.\n\nFetch `call.monitor.listenUrl` to get the live listening URL.\n\n@default true","example":false,"uniqueKey":"monitorPlan.listenEnabled","typeLabel":"boolean"},"listenAuthenticationEnabled":{"type":"boolean","description":"This enables authentication on the `call.monitor.listenUrl`.\n\nIf `listenAuthenticationEnabled` is `true`, the `call.monitor.listenUrl` will require an `Authorization: Bearer \u003ccozmox-public-api-key>` header.\n\n@default false","example":false,"uniqueKey":"monitorPlan.listenAuthenticationEnabled","typeLabel":"boolean"},"controlEnabled":{"type":"boolean","description":"This determines whether the assistant's calls allow live control. Defaults to true.\n\nFetch `call.monitor.controlUrl` to get the live control URL.\n\nTo use, send any control message via a POST request to `call.monitor.controlUrl`. Here are the types of controls supported: https://docs.cozmox.ai/api-reference/messages/client-inbound-message\n\n@default true","example":false,"uniqueKey":"monitorPlan.controlEnabled","typeLabel":"boolean"},"controlAuthenticationEnabled":{"type":"boolean","description":"This enables authentication on the `call.monitor.controlUrl`.\n\nIf `controlAuthenticationEnabled` is `true`, the `call.monitor.controlUrl` will require an `Authorization: Bearer \u003ccozmox-public-api-key>` header.\n\n@default false","example":false,"uniqueKey":"monitorPlan.controlAuthenticationEnabled","typeLabel":"boolean"}},"uniqueKey":"monitorPlan","typeLabel":"object"},"backgroundSpeechDenoisingPlan":{"type":"object","description":"This enables filtering of noise and background speech while the user is talking.\n\nFeatures:\n- Smart denoising using Krisp\n- Fourier denoising\n\nBoth can be used together. Order of precedence:\n- Smart denoising\n- Fourier denoising","properties":{"smartDenoisingPlan":{"type":"object","description":"Whether smart denoising using Krisp is enabled.","properties":{"enabled":{"type":"boolean","description":"Whether smart denoising using Krisp is enabled.","default":false,"uniqueKey":"backgroundSpeechDenoisingPlan.smartDenoisingPlan.enabled","typeLabel":"boolean"}},"uniqueKey":"backgroundSpeechDenoisingPlan.smartDenoisingPlan","typeLabel":"object"},"fourierDenoisingPlan":{"type":"object","description":"Whether Fourier denoising is enabled. Note that this is experimental and may not work as expected.\n\nThis can be combined with smart denoising, and will be run afterwards.","properties":{"enabled":{"type":"boolean","description":"Whether Fourier denoising is enabled. Note that this is experimental and may not work as expected.","default":false,"uniqueKey":"backgroundSpeechDenoisingPlan.fourierDenoisingPlan.enabled","typeLabel":"boolean"},"mediaDetectionEnabled":{"type":"boolean","description":"Whether automatic media detection is enabled. When enabled, the filter will automatically\ndetect consistent background TV/music/radio and switch to more aggressive filtering settings.\nOnly applies when enabled is true.","example":true,"default":true,"uniqueKey":"backgroundSpeechDenoisingPlan.fourierDenoisingPlan.mediaDetectionEnabled","typeLabel":"boolean"},"staticThreshold":{"type":"number","description":"Static threshold in dB used as fallback when no baseline is established.","example":-35,"minimum":-80,"maximum":0,"default":-35,"uniqueKey":"backgroundSpeechDenoisingPlan.fourierDenoisingPlan.staticThreshold","typeLabel":"number"},"baselineOffsetDb":{"type":"number","description":"How far below the rolling baseline to filter audio, in dB.\nLower values (e.g., -10) are more aggressive, higher values (e.g., -20) are more conservative.","example":-15,"minimum":-30,"maximum":-5,"default":-15,"uniqueKey":"backgroundSpeechDenoisingPlan.fourierDenoisingPlan.baselineOffsetDb","typeLabel":"number"},"windowSizeMs":{"type":"number","description":"Rolling window size in milliseconds for calculating the audio baseline.\nLarger windows adapt more slowly but are more stable.","example":3000,"minimum":1000,"maximum":30000,"default":3000,"uniqueKey":"backgroundSpeechDenoisingPlan.fourierDenoisingPlan.windowSizeMs","typeLabel":"number"},"baselinePercentile":{"type":"number","description":"Percentile to use for baseline calculation (1-99).\nHigher percentiles (e.g., 85) focus on louder speech, lower percentiles (e.g., 50) include quieter speech.","example":85,"minimum":1,"maximum":99,"default":85,"uniqueKey":"backgroundSpeechDenoisingPlan.fourierDenoisingPlan.baselinePercentile","typeLabel":"number"}},"uniqueKey":"backgroundSpeechDenoisingPlan.fourierDenoisingPlan","typeLabel":"object"}},"uniqueKey":"backgroundSpeechDenoisingPlan","typeLabel":"object"},"credentialIds":{"description":"These are the credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can provide a subset using this.","type":"array","items":{"type":"string","uniqueKey":"credentialIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"credentialIds","typeLabel":"string[]"}},"required":["nodes","id","orgId","createdAt","updatedAt","name","edges"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"nodes":[{"type":"conversation","name":"\u003cstring>","model":{"provider":"openai","model":"gpt-4.1-2025-04-14","temperature":1,"maxTokens":5025},"transcriber":{"provider":"assembly-ai","language":"en","confidenceThreshold":0.4,"enableUniversalStreamingApi":false,"formatTurns":false,"endOfTurnConfidenceThreshold":0.7,"minEndOfTurnSilenceWhenConfident":160,"wordFinalizationMaxWaitTime":160,"maxTurnSilence":400,"realtimeUrl":"\u003cstring>","wordBoost":["\u003cstring>"],"endUtteranceSilenceThreshold":123,"disablePartialTranscripts":true,"fallbackPlan":{"transcribers":[{"provider":"assembly-ai","language":"en","confidenceThreshold":0.4,"enableUniversalStreamingApi":false,"formatTurns":false,"endOfTurnConfidenceThreshold":0.7,"minEndOfTurnSilenceWhenConfident":160,"wordFinalizationMaxWaitTime":160,"maxTurnSilence":400,"realtimeUrl":"\u003cstring>","wordBoost":["\u003cstring>"],"endUtteranceSilenceThreshold":123,"disablePartialTranscripts":true}]}},"voice":{"provider":"azure","voiceId":"andrew","cachingEnabled":true,"chunkPlan":{"enabled":true,"minCharacters":30,"punctuationBoundaries":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"formatPlan":{"enabled":true,"numberToDigitsCutoff":2025,"replacements":[{"type":"exact","key":"\u003cstring>","value":"\u003cstring>","replaceAllEnabled":false}],"formattersEnabled":"markdown"}},"speed":1.25,"fallbackPlan":{"voices":[{"provider":"azure","voiceId":"andrew","cachingEnabled":true,"speed":1.25,"chunkPlan":{"enabled":true,"minCharacters":30,"punctuationBoundaries":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"formatPlan":{"enabled":true,"numberToDigitsCutoff":2025,"replacements":[{"type":"exact","key":"\u003cstring>","value":"\u003cstring>","replaceAllEnabled":false}],"formattersEnabled":"markdown"}}}]}},"prompt":"\u003cstring>","globalNodePlan":{"enabled":false,"enterCondition":""},"variableExtractionPlan":{"schema":{"type":"string","items":{},"properties":{},"description":"\u003cstring>","pattern":"\u003cstring>","format":"date-time","required":["\u003cstring>"],"enum":["\u003cstring>"],"title":"\u003cstring>"},"aliases":[{"key":"\u003cstring>","value":"\u003cstring>"}]},"isStart":true,"metadata":{}}],"id":"\u003cstring>","orgId":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","name":"\u003cstring>","edges":[{"from":"\u003cstring>","to":"\u003cstring>","condition":{"type":"ai","prompt":"\u003cstring>"},"metadata":{}}],"transcriber":{"provider":"assembly-ai","language":"en","confidenceThreshold":0.4,"enableUniversalStreamingApi":false,"formatTurns":false,"endOfTurnConfidenceThreshold":0.7,"minEndOfTurnSilenceWhenConfident":160,"wordFinalizationMaxWaitTime":160,"maxTurnSilence":400,"realtimeUrl":"\u003cstring>","wordBoost":["\u003cstring>"],"endUtteranceSilenceThreshold":123,"disablePartialTranscripts":true,"fallbackPlan":{"transcribers":[{"provider":"assembly-ai","language":"en","confidenceThreshold":0.4,"enableUniversalStreamingApi":false,"formatTurns":false,"endOfTurnConfidenceThreshold":0.7,"minEndOfTurnSilenceWhenConfident":160,"wordFinalizationMaxWaitTime":160,"maxTurnSilence":400,"realtimeUrl":"\u003cstring>","wordBoost":["\u003cstring>"],"endUtteranceSilenceThreshold":123,"disablePartialTranscripts":true}]}},"voice":{"provider":"azure","voiceId":"andrew","cachingEnabled":true,"chunkPlan":{"enabled":true,"minCharacters":30,"punctuationBoundaries":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"formatPlan":{"enabled":true,"numberToDigitsCutoff":2025,"replacements":[{"type":"exact","key":"\u003cstring>","value":"\u003cstring>","replaceAllEnabled":false}],"formattersEnabled":"markdown"}},"speed":1.25,"fallbackPlan":{"voices":[{"provider":"azure","voiceId":"andrew","cachingEnabled":true,"speed":1.25,"chunkPlan":{"enabled":true,"minCharacters":30,"punctuationBoundaries":["。",",",".","!","?",";","،","۔","।","॥","|","||",",",":"],"formatPlan":{"enabled":true,"numberToDigitsCutoff":2025,"replacements":[{"type":"exact","key":"\u003cstring>","value":"\u003cstring>","replaceAllEnabled":false}],"formattersEnabled":"markdown"}}}]}},"observabilityPlan":{"provider":"langfuse","tags":["\u003cstring>"],"metadata":{}},"backgroundSound":"office","credentials":[{"provider":"anthropic","apiKey":"\u003cstring>","name":"\u003cstring>"}],"globalPrompt":"\u003cstring>","server":{"timeoutSeconds":20,"url":"\u003cstring>","headers":{},"backoffPlan":{"type":"fixed","maxRetries":0,"baseDelaySeconds":1}},"compliancePlan":{"hipaaEnabled":{"hipaaEnabled":false},"pciEnabled":{"pciEnabled":false}},"analysisPlan":{"minMessagesThreshold":1,"summaryPlan":{"messages":[{}],"enabled":true,"timeoutSeconds":30.5},"structuredDataPlan":{"messages":[{}],"enabled":true,"schema":{"type":"string","items":{},"properties":{},"description":"\u003cstring>","pattern":"\u003cstring>","format":"date-time","required":["\u003cstring>"],"enum":["\u003cstring>"],"title":"\u003cstring>"},"timeoutSeconds":30.5},"structuredDataMultiPlan":[{"key":"\u003cstring>","plan":{"messages":[{}],"enabled":true,"schema":{"type":"string","items":{},"properties":{},"description":"\u003cstring>","pattern":"\u003cstring>","format":"date-time","required":["\u003cstring>"],"enum":["\u003cstring>"],"title":"\u003cstring>"},"timeoutSeconds":30.5}}],"successEvaluationPlan":{"rubric":"NumericScale","messages":[{}],"enabled":true,"timeoutSeconds":30.5}},"artifactPlan":{"recordingEnabled":true,"recordingFormat":"wav;l16","videoRecordingEnabled":false,"pcapEnabled":true,"pcapS3PathPrefix":"/pcaps","transcriptPlan":{"enabled":true,"assistantName":"\u003cstring>","userName":"\u003cstring>"},"recordingPath":"\u003cstring>"},"startSpeakingPlan":{"waitSeconds":0.4,"smartEndpointingEnabled":false,"smartEndpointingPlan":{"provider":"cozmox"},"customEndpointingRules":[{"type":"assistant","regex":"\u003cstring>","timeoutSeconds":7.5,"regexOptions":[{"type":"ignore-case","enabled":true}]}],"transcriptionEndpointingPlan":{"onPunctuationSeconds":0.1,"onNoPunctuationSeconds":1.5,"onNumberSeconds":0.5}},"stopSpeakingPlan":{"numWords":0,"voiceSeconds":0.2,"backoffSeconds":1,"acknowledgementPhrases":["i understand","i see","i got it","i hear you","im listening","im with you","right","okay","ok","sure","alright","got it","understood","yeah","yes","uh-huh","mm-hmm","gotcha","mhmm","ah","yeah okay","yeah sure"],"interruptionPhrases":["stop","shut","up","enough","quiet","silence","but","dont","not","no","hold","wait","cut","pause","nope","nah","nevermind","never","bad","actually"]},"monitorPlan":{"listenEnabled":false,"listenAuthenticationEnabled":false,"controlEnabled":false,"controlAuthenticationEnabled":false},"backgroundSpeechDenoisingPlan":{"smartDenoisingPlan":{"enabled":false},"fourierDenoisingPlan":{"enabled":false,"mediaDetectionEnabled":true,"staticThreshold":-35,"baselineOffsetDb":-15,"windowSizeMs":3000,"baselinePercentile":85}},"credentialIds":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"59116921-58fe-4b4e-a0c2-3c86c26612c3":{"bearer":{"scheme":"bearer","bearerFormat":"Bearer","type":"http","description":"Retrieve your API Key from [Dashboard](dashboard.cozmox.ai).","scopes":[]}}},"servers":{"b5b8326a-680d-4e65-bd4d-46e31c9c1334":{"description":"Cozmox APIs","url":"https://api.cozmox.ai"},"1698761f-fe56-43c1-839e-05ab7d829049":{"url":"https://api.cozmox.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"Bearer","type":"http","description":"Retrieve your API Key from [Dashboard](dashboard.cozmox.ai).","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Retrieve your API Key from [Dashboard](dashboard.cozmox.ai).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"czmx","siteName":"Cozmox-AI Nebula SDK","title":"Delete Workflow - Cozmox-AI Nebula SDK","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/workflow/delete-workflow.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Cozmox-AI Nebula SDK\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/czmx/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/czmx/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/czmx/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/czmx/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Delete Workflow - Cozmox-AI Nebula SDK\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cozmox-AI Nebula SDK\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://czmx.mintlify.site/_mintlify/api/og/v2?division=Workflow\u0026amp;title=Delete+Workflow\u0026amp;theme=95ed1721ed9e0ffde4c2ee1b\u0026amp;signature=bbda1d27a4b1d73b55b21691edb4ae1193663ac4bc92e828bf83b0ac42c064ec\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Delete Workflow - Cozmox-AI Nebula SDK\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://czmx.mintlify.site/_mintlify/api/og/v2?division=Workflow\u0026amp;title=Delete+Workflow\u0026amp;theme=95ed1721ed9e0ffde4c2ee1b\u0026amp;signature=bbda1d27a4b1d73b55b21691edb4ae1193663ac4bc92e828bf83b0ac42c064ec\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/czmx/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cozmox-AI Nebula SDK\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5911\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workflow/delete-workflow.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cozmox.cloud/#organization\",\"name\":\"Cozmox-AI Nebula SDK\",\"url\":\"https://docs.cozmox.cloud\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/czmx/logo/logo_light.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cozmox.cloud#website\",\"name\":\"Cozmox-AI Nebula SDK\",\"url\":\"https://docs.cozmox.cloud\",\"publisher\":{\"@id\":\"https://docs.cozmox.cloud/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow#webpage\",\"url\":\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow\",\"name\":\"Delete Workflow\",\"isPartOf\":{\"@id\":\"https://docs.cozmox.cloud#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflow\",\"item\":\"https://docs.cozmox.cloud/api-reference/workflow/create-workflow\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Delete Workflow\",\"item\":\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow#apireference\",\"headline\":\"Delete Workflow\",\"name\":\"Delete Workflow\",\"url\":\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cozmox.cloud/api-reference/workflow/delete-workflow#webpage\"},\"publisher\":{\"@id\":\"https://docs.cozmox.cloud/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cozmox.cloud#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cozmox-AI Nebula SDK\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cozmox-AI Nebula SDK\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/workflow/delete-workflow.md","siteName":"Cozmox-AI Nebula SDK","nav":{"global":null,"tabs":[{"tab":"Documentation","anchors":[{"anchor":"API Reference","icon":"square-terminal","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Webhooks","pages":[{"title":"Introduction","href":"/api-reference/webhooks"}]},{"group":"Voice Agent UI","pages":[{"title":"Introduction","href":"/api-reference/embedded"}]},{"group":"STT Usage","pages":[{"title":"Socket STT","href":"/api-reference/socket"}]},{"group":"Endpoint Examples","pages":[{"title":"Delete file","href":"/api-reference/endpoint/delete-file"},{"openapi":"post /call","title":"Create Call","href":"/api-reference/calls/create-call"}]},{"group":"Assistants","pages":[{"openapi":"post /assistant","title":"Create Assistant","href":"/api-reference/assistants/create-assistant"},{"openapi":"delete /assistant/{id}","title":"Delete Assistant","href":"/api-reference/assistants/delete-assistant"},{"openapi":"get /assistant/{id}","title":"Get Assistant","href":"/api-reference/assistants/get-assistant"},{"openapi":"get /assistant","title":"List Assistants","href":"/api-reference/assistants/list-assistants"},{"openapi":"patch /assistant/{id}","title":"Update Assistant","href":"/api-reference/assistants/update-assistant"}]},{"group":"Calls","pages":[{"openapi":"post /call","title":"Create Call","href":"/api-reference/calls/create-call"},{"openapi":"delete /call/{id}","title":"Delete Call Data","href":"/api-reference/calls/delete-call-data"},{"openapi":"get /call/{id}","title":"Get Call","href":"/api-reference/calls/get-call"},{"openapi":"get /call","title":"List Calls","href":"/api-reference/calls/list-calls"},{"openapi":"patch /call/{id}","title":"Update Call","href":"/api-reference/calls/update-call"}]},{"group":"Campaigns","pages":[{"openapi":"post /campaign","title":"Create Campaign","href":"/api-reference/campaigns/create-campaign"},{"openapi":"delete /campaign/{id}","title":"Delete Campaign","href":"/api-reference/campaigns/delete-campaign"},{"openapi":"get /campaign/{id}","title":"Get Campaign","href":"/api-reference/campaigns/get-campaign"},{"openapi":"get /campaign","title":"List Campaigns","href":"/api-reference/campaigns/list-campaigns"},{"openapi":"patch /campaign/{id}","title":"Update Campaign","href":"/api-reference/campaigns/update-campaign"}]},{"group":"Chats","pages":[{"openapi":"post /chat/responses","title":"Create Chat (OpenAI Compatible)","href":"/api-reference/chats/create-chat-openai-compatible"},{"openapi":"post /chat","title":"Create Chat","href":"/api-reference/chats/create-chat"},{"openapi":"delete /chat/{id}","title":"Delete Chat","href":"/api-reference/chats/delete-chat"},{"openapi":"get /chat/{id}","title":"Get Chat","href":"/api-reference/chats/get-chat"},{"openapi":"get /chat","title":"List Chats","href":"/api-reference/chats/list-chats"}]},{"group":"Files","pages":[{"openapi":"delete /file/{id}","title":"Delete File","href":"/api-reference/files/delete-file"},{"openapi":"get /file/{id}","title":"Get File","href":"/api-reference/files/get-file"},{"openapi":"get /file","title":"List Files","href":"/api-reference/files/list-files"},{"openapi":"patch /file/{id}","title":"Update File","href":"/api-reference/files/update-file"},{"openapi":"post /file","title":"Upload File","href":"/api-reference/files/upload-file"}]},{"group":"Knowledge Base","pages":[{"openapi":"post /knowledge-base","title":"Create Knowledge Base","href":"/api-reference/knowledge-base/create-knowledge-base"},{"openapi":"get /knowledge-base/{id}","title":"Get Knowledge Base","href":"/api-reference/knowledge-base/get-knowledge-base"},{"openapi":"delete /knowledge-base/{id}","title":"Delete Knowledge Base","href":"/api-reference/knowledge-base/delete-knowledge-base"},{"openapi":"get /knowledge-base","title":"List Knowledge Bases","href":"/api-reference/knowledge-base/list-knowledge-bases"},{"openapi":"patch /knowledge-base/{id}","title":"Update Knowledge Base","href":"/api-reference/knowledge-base/update-knowledge-base"}]},{"group":"Logs","pages":[{"openapi":"delete /logs","deprecated":true,"title":"Delete Logs","href":"/api-reference/logs/delete-logs"},{"openapi":"get /logs","deprecated":true,"title":"Get Logs","href":"/api-reference/logs/get-logs"}]},{"group":"Phone Numbers","pages":[{"openapi":"post /phone-number","title":"Create Phone Number","href":"/api-reference/phone-numbers/create-phone-number"},{"openapi":"delete /phone-number/{id}","title":"Delete Phone Number","href":"/api-reference/phone-numbers/delete-phone-number"},{"openapi":"get /phone-number/{id}","title":"Get Phone Number","href":"/api-reference/phone-numbers/get-phone-number"},{"openapi":"get /phone-number","title":"List Phone Numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"openapi":"patch /phone-number/{id}","title":"Update Phone Number","href":"/api-reference/phone-numbers/update-phone-number"}]},{"group":"Sessions","pages":[{"openapi":"post /session","title":"Create Session","href":"/api-reference/sessions/create-session"},{"openapi":"delete /session/{id}","title":"Delete Session","href":"/api-reference/sessions/delete-session"},{"openapi":"get /session/{id}","title":"Get Session","href":"/api-reference/sessions/get-session"},{"openapi":"get /session","title":"List Sessions","href":"/api-reference/sessions/list-sessions"},{"openapi":"patch /session/{id}","title":"Update Session","href":"/api-reference/sessions/update-session"}]},{"group":"Tools","pages":[{"openapi":"post /tool","title":"Create Tool","href":"/api-reference/tools/create-tool"},{"openapi":"delete /tool/{id}","title":"Delete Tool","href":"/api-reference/tools/delete-tool"},{"openapi":"get /tool/{id}","title":"Get Tool","href":"/api-reference/tools/get-tool"},{"openapi":"get /tool","title":"List Tools","href":"/api-reference/tools/list-tools"},{"openapi":"patch /tool/{id}","title":"Update Tool","href":"/api-reference/tools/update-tool"}]},{"group":"Workflow","pages":[{"openapi":"post /workflow","title":"Create Workflow","description":null,"href":"/api-reference/workflow/create-workflow"},{"openapi":"delete /workflow/{id}","title":"Delete Workflow","href":"/api-reference/workflow/delete-workflow"},{"openapi":"get /workflow/{id}","title":"Get Workflow","description":null,"href":"/api-reference/workflow/get-workflow"},{"openapi":"get /workflow","title":"Get Workflows","href":"/api-reference/workflow/get-workflows"},{"openapi":"patch /workflow/{id}","title":"Update Workflow","href":"/api-reference/workflow/update-workflow"}]},{"group":"SDK","pages":[{"openapi":"https://api.cozmox.cloud/api-json get /v1/nebula/hello","href":"/api-reference/sdk/hello","title":"Hello","deprecated":null,"version":null}]},{"group":"Outbound","pages":[{"openapi":"https://api.cozmox.cloud/api-json post /v1/outbound/create-call","href":"/api-reference/outbound/create-a-call","title":"Create a call","deprecated":null,"version":null},{"openapi":"https://api.cozmox.cloud/api-json post /v1/outbound/retrieve-call","href":"/api-reference/outbound/retrieve-a-call","title":"Retrieve a call","deprecated":null,"version":null}]},{"group":"Concurrency","pages":[{"openapi":"https://api.cozmox.cloud/api-json get /v1/concurrency/retrieve","href":"/api-reference/concurrency/call-concurrency","title":"Call concurrency","deprecated":null,"version":null}]}]}]},{"tab":"API Reference","anchors":[{"anchor":"API Reference","icon":"square-terminal","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Webhooks","pages":[{"title":"Introduction","href":"/api-reference/webhooks"}]},{"group":"Voice Agent UI","pages":[{"title":"Introduction","href":"/api-reference/embedded"}]},{"group":"STT Usage","pages":[{"title":"Socket STT","href":"/api-reference/socket"}]},{"group":"Endpoint Examples","pages":[{"title":"Delete file","href":"/api-reference/endpoint/delete-file"},{"openapi":"post /call","title":"Create Call","href":"/api-reference/calls/create-call"}]},{"group":"Assistants","pages":[{"openapi":"post /assistant","title":"Create Assistant","href":"/api-reference/assistants/create-assistant"},{"openapi":"delete /assistant/{id}","title":"Delete Assistant","href":"/api-reference/assistants/delete-assistant"},{"openapi":"get /assistant/{id}","title":"Get Assistant","href":"/api-reference/assistants/get-assistant"},{"openapi":"get /assistant","title":"List Assistants","href":"/api-reference/assistants/list-assistants"},{"openapi":"patch /assistant/{id}","title":"Update Assistant","href":"/api-reference/assistants/update-assistant"}]},{"group":"Calls","pages":[{"openapi":"post /call","title":"Create Call","href":"/api-reference/calls/create-call"},{"openapi":"delete /call/{id}","title":"Delete Call Data","href":"/api-reference/calls/delete-call-data"},{"openapi":"get /call/{id}","title":"Get Call","href":"/api-reference/calls/get-call"},{"openapi":"get /call","title":"List Calls","href":"/api-reference/calls/list-calls"},{"openapi":"patch /call/{id}","title":"Update Call","href":"/api-reference/calls/update-call"}]},{"group":"Campaigns","pages":[{"openapi":"post /campaign","title":"Create Campaign","href":"/api-reference/campaigns/create-campaign"},{"openapi":"delete /campaign/{id}","title":"Delete Campaign","href":"/api-reference/campaigns/delete-campaign"},{"openapi":"get /campaign/{id}","title":"Get Campaign","href":"/api-reference/campaigns/get-campaign"},{"openapi":"get /campaign","title":"List Campaigns","href":"/api-reference/campaigns/list-campaigns"},{"openapi":"patch /campaign/{id}","title":"Update Campaign","href":"/api-reference/campaigns/update-campaign"}]},{"group":"Chats","pages":[{"openapi":"post /chat/responses","title":"Create Chat (OpenAI Compatible)","href":"/api-reference/chats/create-chat-openai-compatible"},{"openapi":"post /chat","title":"Create Chat","href":"/api-reference/chats/create-chat"},{"openapi":"delete /chat/{id}","title":"Delete Chat","href":"/api-reference/chats/delete-chat"},{"openapi":"get /chat/{id}","title":"Get Chat","href":"/api-reference/chats/get-chat"},{"openapi":"get /chat","title":"List Chats","href":"/api-reference/chats/list-chats"}]},{"group":"Files","pages":[{"openapi":"delete /file/{id}","title":"Delete File","href":"/api-reference/files/delete-file"},{"openapi":"get /file/{id}","title":"Get File","href":"/api-reference/files/get-file"},{"openapi":"get /file","title":"List Files","href":"/api-reference/files/list-files"},{"openapi":"patch /file/{id}","title":"Update File","href":"/api-reference/files/update-file"},{"openapi":"post /file","title":"Upload File","href":"/api-reference/files/upload-file"}]},{"group":"Knowledge Base","pages":[{"openapi":"post /knowledge-base","title":"Create Knowledge Base","href":"/api-reference/knowledge-base/create-knowledge-base"},{"openapi":"get /knowledge-base/{id}","title":"Get Knowledge Base","href":"/api-reference/knowledge-base/get-knowledge-base"},{"openapi":"delete /knowledge-base/{id}","title":"Delete Knowledge Base","href":"/api-reference/knowledge-base/delete-knowledge-base"},{"openapi":"get /knowledge-base","title":"List Knowledge Bases","href":"/api-reference/knowledge-base/list-knowledge-bases"},{"openapi":"patch /knowledge-base/{id}","title":"Update Knowledge Base","href":"/api-reference/knowledge-base/update-knowledge-base"}]},{"group":"Logs","pages":[{"openapi":"delete /logs","deprecated":true,"title":"Delete Logs","href":"/api-reference/logs/delete-logs"},{"openapi":"get /logs","deprecated":true,"title":"Get Logs","href":"/api-reference/logs/get-logs"}]},{"group":"Phone Numbers","pages":[{"openapi":"post /phone-number","title":"Create Phone Number","href":"/api-reference/phone-numbers/create-phone-number"},{"openapi":"delete /phone-number/{id}","title":"Delete Phone Number","href":"/api-reference/phone-numbers/delete-phone-number"},{"openapi":"get /phone-number/{id}","title":"Get Phone Number","href":"/api-reference/phone-numbers/get-phone-number"},{"openapi":"get /phone-number","title":"List Phone Numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"openapi":"patch /phone-number/{id}","title":"Update Phone Number","href":"/api-reference/phone-numbers/update-phone-number"}]},{"group":"Sessions","pages":[{"openapi":"post /session","title":"Create Session","href":"/api-reference/sessions/create-session"},{"openapi":"delete /session/{id}","title":"Delete Session","href":"/api-reference/sessions/delete-session"},{"openapi":"get /session/{id}","title":"Get Session","href":"/api-reference/sessions/get-session"},{"openapi":"get /session","title":"List Sessions","href":"/api-reference/sessions/list-sessions"},{"openapi":"patch /session/{id}","title":"Update Session","href":"/api-reference/sessions/update-session"}]},{"group":"Tools","pages":[{"openapi":"post /tool","title":"Create Tool","href":"/api-reference/tools/create-tool"},{"openapi":"delete /tool/{id}","title":"Delete Tool","href":"/api-reference/tools/delete-tool"},{"openapi":"get /tool/{id}","title":"Get Tool","href":"/api-reference/tools/get-tool"},{"openapi":"get /tool","title":"List Tools","href":"/api-reference/tools/list-tools"},{"openapi":"patch /tool/{id}","title":"Update Tool","href":"/api-reference/tools/update-tool"}]},{"group":"Workflow","pages":[{"openapi":"post /workflow","title":"Create Workflow","description":null,"href":"/api-reference/workflow/create-workflow"},{"openapi":"delete /workflow/{id}","title":"Delete Workflow","href":"/api-reference/workflow/delete-workflow"},{"openapi":"get /workflow/{id}","title":"Get Workflow","description":null,"href":"/api-reference/workflow/get-workflow"},{"openapi":"get /workflow","title":"Get Workflows","href":"/api-reference/workflow/get-workflows"},{"openapi":"patch /workflow/{id}","title":"Update Workflow","href":"/api-reference/workflow/update-workflow"}]},{"group":"SDK","pages":[{"openapi":"https://api.cozmox.cloud/api-json get /v1/nebula/hello","href":"/api-reference/sdk/hello","title":"Hello","deprecated":null,"version":null}]},{"group":"Outbound","pages":[{"openapi":"https://api.cozmox.cloud/api-json post /v1/outbound/create-call","href":"/api-reference/outbound/create-a-call","title":"Create a call","deprecated":null,"version":null},{"openapi":"https://api.cozmox.cloud/api-json post /v1/outbound/retrieve-call","href":"/api-reference/outbound/retrieve-a-call","title":"Retrieve a call","deprecated":null,"version":null}]},{"group":"Concurrency","pages":[{"openapi":"https://api.cozmox.cloud/api-json get /v1/concurrency/retrieve","href":"/api-reference/concurrency/call-concurrency","title":"Call concurrency","deprecated":null,"version":null}]}]}]}]},"basePath":"","title":"Delete Workflow - Cozmox-AI Nebula SDK","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BFmjTMeT.js","utils-BWr-sjpP.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-LafIDf0N.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-MJNzuxek.js","snippetPresets-DPZEtUvW.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DQ2UhGIs.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DUUJTUkE.js","shallow-BTf5bw35.js","getApiPlaygroundDisplay-h2POYYOO.js","CodeSnippet-C4qEftRe.js","CodeSnippets-CsSrOqMC.js","Page-CWFqNdGh.js","getPastedJson-DU6W6y78.js","icon-2ZYNQ78y.js","MethodPill-BMXJzYMm.js","DuplicateIcon-DNjdEpYZ.js","createIcon-WdPVhKxl.js","DynamicMarkdown-Z_y464fM.js","SectionHeading-Bcrd8azU.js","axios-vUo_bRtp.js","Markdown-BnvucbFu.js","dist-D7YyC486.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-D1I8TPjt.js"]}