Ricardo Basto
11/15/2024, 11:03 AMShubham Bajaj
11/15/2024, 12:34 PMjson
"voice": {
"provider": "11labs",
"chunkPlan": {
"formatPlan": {
"replacements": [
{
"type": "exact",
"key": "<break time=3s />",
"value": "<break time=\"3s\" />"
}
]
}
}Shubham Bajaj
11/15/2024, 12:35 PM<break time="1.0s" />Shubham Bajaj
11/15/2024, 12:35 PMRicardo Basto
11/20/2024, 6:27 PM@vapi-ai/web npm package yet
One thing I noticed is that when you use "exact" it replaces only the first occurence of the key. It's like someone forgot to add the /g flag to the regex, or used .replace instead of .replaceAll
But when using type: "regex" it is replacing globally.Shubham Bajaj
11/20/2024, 6:30 PMRicardo Basto
11/20/2024, 6:41 PMenableSsmlParsing option, does that still affect anything?Shubham Bajaj
11/21/2024, 8:47 AM