Customize how the AI pronounces specific words and terms
custom_pronunciation_rules
const sessionConfig = { model: "outspeed-v1", instructions: "You are a helpful assistant.", voice: "sophie", custom_pronunciation_rules: [ { pattern: "Node.js", pronunciation: "Node JS", }, { pattern: "React.js", pronunciation: "React JS", }, { pattern: "API", pronunciation: "A P I", }, ], // rest of config... };
custom_pronunciation_rules: [ { pattern: "AWS", pronunciation: "A W S" }, { pattern: "JSON", pronunciation: "Jason" }, { pattern: "API", pronunciation: "A P I" }, { pattern: "Node.js", pronunciation: "Node JS" }, { pattern: "React.js", pronunciation: "React JS" }, ];
Was this page helpful?