mirror of
https://github.com/hanzoai/bot.git
synced 2026-11-23 17:19:21 +00:00
Complete rename of all OpenClaw/OPENCLAW/openclaw references to Hanzo Bot/BOT/bot naming convention: - Env vars: OPENCLAW_* → BOT_* (18 patterns) - Config: ~/.openclaw/ → ~/.bot/, openclaw.json → bot.json - Packages: @openclaw/* → @hanzo/bot-* - Domains: openclaw.ai → hanzo.bot - Mobile: OpenClawKit → BotKit, bundle IDs ai.openclaw → ai.hanzo.bot - mDNS: _openclaw-gw._tcp → _bot-gw._tcp - Docker: CMD hanzo-bot.mjs, BOT_PREFER_PNPM, BOT_DOCKER_APT_PACKAGES - CI: docker-release.yml adds :latest tag on main branch
2.2 KiB
2.2 KiB
summary, read_when, title
| summary | read_when | title | ||
|---|---|---|---|---|
| Deepgram transcription for inbound voice notes |
|
Deepgram |
Deepgram (Audio Transcription)
Deepgram is a speech-to-text API. In Hanzo Bot it is used for inbound audio/voice note
transcription via tools.media.audio.
When enabled, Hanzo Bot uploads the audio file to Deepgram and injects the transcript
into the reply pipeline ({{Transcript}} + [Audio] block). This is not streaming;
it uses the pre-recorded transcription endpoint.
Website: https://deepgram.com
Docs: https://developers.deepgram.com
Quick start
- Set your API key:
DEEPGRAM_API_KEY=dg_...
- Enable the provider:
{
tools: {
media: {
audio: {
enabled: true,
models: [{ provider: "deepgram", model: "nova-3" }],
},
},
},
}
Options
model: Deepgram model id (default:nova-3)language: language hint (optional)tools.media.audio.providerOptions.deepgram.detect_language: enable language detection (optional)tools.media.audio.providerOptions.deepgram.punctuate: enable punctuation (optional)tools.media.audio.providerOptions.deepgram.smart_format: enable smart formatting (optional)
Example with language:
{
tools: {
media: {
audio: {
enabled: true,
models: [{ provider: "deepgram", model: "nova-3", language: "en" }],
},
},
},
}
Example with Deepgram options:
{
tools: {
media: {
audio: {
enabled: true,
providerOptions: {
deepgram: {
detect_language: true,
punctuate: true,
smart_format: true,
},
},
models: [{ provider: "deepgram", model: "nova-3" }],
},
},
},
}
Notes
- Authentication follows the standard provider auth order;
DEEPGRAM_API_KEYis the simplest path. - Override endpoints or headers with
tools.media.audio.baseUrlandtools.media.audio.headerswhen using a proxy. - Output follows the same audio rules as other providers (size caps, timeouts, transcript injection).