Deepgram Console AI assistant with navigation skills, tool calls, and context-aware actions.
<script src="https://cdn.deepgram.com/agent-widget/latest/widget.umd.js"></script> <script> DeepgramAgent.init({ tokenFactory: () => fetch('/api/token') .then(r => r.json()).then(d => d.token), agent: { think: { provider: { type: 'open_ai', model: 'gpt-4o-mini' }, prompt: 'You are a Deepgram Console assistant...', functions: [ { name: 'nav-dashboard', description: 'Go to Dashboard', parameters: { type: 'object', properties: {} }, client_side: true }, // ... 30+ client-side functions ], }, speak: { provider: { type: 'deepgram', model: 'aura-2-thalia-en' } }, }, layout: 'sidebar', buttonId: 'dg-ask-ai-btn', on: { onFunctionCallRequest: (msg) => { // Handle client-side function calls for (const fn of msg.functions) { handleSkill(fn.name, fn.input); } }, }, }); </script>