Section 3 Lecture 18: Further settings & dynamic JavaScript variables (date, name and more)
Source
AI Voice Agents: Automation with Vapi, ElevenLabs, n8n & MCP
内容
Variablesの設定について解説されている。
タイムゾーン問題の解決
前回のタイムゾーン問題(話した時間帯と、Googleカレンダーに登録される時間に差がある問題)は、システムプロンプトに以下の一行を追加するだけで解決可能である。
{{"now" | date: "%A, %B %d, %Y, %I:%M %p", "America/Los_Angeles"}}
公式リファレンス:Variables | Vapi
Additional Configuration
その他、Additional Configurationについても以下の項目が解説されている:
- Punctuation Boundaries (Stability, Speed など)
- Predefined Functions (Enable End Call Function など)
- Call Timeout Settings (Silence Time out, Maximum Duration など)