When to use this product
Use this skill when someone asks for Flux or conversational STT v2 in the Go SDK.
Current repo status: this SDK snapshot does not implement a first-class listen/v2 client.
Use a different skill when:
- v1 Listen is acceptable (
deepgram-go-speech-to-text) - voice-agent runtime is the real target (
deepgram-go-voice-agent)
Authentication
If you hand-roll a raw WebSocket client, it still uses the same Deepgram credentials.
export DEEPGRAM_API_KEY="your_api_key"
Quick start
There is no supported pkg/client/listen/v2 constructor in this repo today.
What you can do instead:
- use
deepgram-go-speech-to-textfor supportedlistenv1 flows - if you must prototype v2, start from the low-level shared WebSocket plumbing and path/version hooks already in the repo:
pkg/client/common/v1/websocket.gopkg/client/interfaces/v1/types-client.gopkg/api/version/live-version.gopkg/api/version/constants.go
Treat that path as a manual integration, not an SDK-supported product surface.
Key parameters
- unsupported in current public package layout
- no
pkg/client/listen/v2 - no
pkg/api/listen/v2
- no
- possible raw integration hooks
- client host/version/path overrides from the shared client options
- shared WS lifecycle and reconnect logic in
pkg/client/common/v1/websocket.go
API reference (layered)
- In-repo reference
README.mddocs.gopkg/client/common/v1/websocket.gopkg/client/interfaces/v1/types-client.gopkg/api/version/live-version.gopkg/api/version/constants.go
- OpenAPI
https://developers.deepgram.com/openapi.yaml
- AsyncAPI
https://developers.deepgram.com/asyncapi.yaml
- Context7
/llmstxt/developers_deepgram_llms_txt
- Product docs
https://developers.deepgram.com/docs/conversational-speech-recognition
Gotchas
- Be explicit: conversational STT v2 is not yet implemented as a first-class Go SDK client here.
- Do not invent
listen/v2package paths, constructors, or examples. - If a task requires production-ready Flux support, point to raw API usage or another SDK until this repo adds first-class coverage.
Example files in this repo
- No dedicated conversational STT v2 examples exist in this repo.
- For shared WS patterns, inspect
tests/edge_cases/keepalive/main.goandtests/edge_cases/reconnect_client/main.go.
Central product skills
For cross-language Deepgram product knowledge — the consolidated API reference, documentation finder, focused runnable recipes, third-party integration examples, and MCP setup — install the central skills:
npx skills add deepgram/skills
This SDK ships language-idiomatic code skills; deepgram/skills ships cross-language product knowledge (see api, docs, recipes, examples, starters, setup-mcp).