deepgram-go-conversational-stt

作成者: deepgram

Deepgramの会話型STT / Flux v2向けのGo SDK作業を計画またはレビューする際に使用します。このリポジトリは現在、ファーストクラスのv2 listenクライアントを提供していないため…

npx skills add https://github.com/deepgram/deepgram-go-sdk --skill deepgram-go-conversational-stt

Using Deepgram Conversational STT from the Go SDK

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-text for supported listen v1 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.go
    • pkg/client/interfaces/v1/types-client.go
    • pkg/api/version/live-version.go
    • pkg/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
  • 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)

  1. In-repo reference
    • README.md
    • docs.go
    • pkg/client/common/v1/websocket.go
    • pkg/client/interfaces/v1/types-client.go
    • pkg/api/version/live-version.go
    • pkg/api/version/constants.go
  2. OpenAPI
    • https://developers.deepgram.com/openapi.yaml
  3. AsyncAPI
    • https://developers.deepgram.com/asyncapi.yaml
  4. Context7
    • /llmstxt/developers_deepgram_llms_txt
  5. Product docs
    • https://developers.deepgram.com/docs/conversational-speech-recognition

Gotchas

  1. Be explicit: conversational STT v2 is not yet implemented as a first-class Go SDK client here.
  2. Do not invent listen/v2 package paths, constructors, or examples.
  3. 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.go and tests/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).

deepgramのその他のスキル

deepclaw-voice
deepgram
Deepgram Voice Agent APIを使用してOpenClawへの電話発信を設定する
official
deepgram-js-audio-intelligence
deepgram
Use when writing or reviewing JavaScript/TypeScript in this repo that calls Deepgram audio analytics overlays on `/v1/listen` - summarize, topics, intents,…
official
deepgram-dotnet-audio-intelligence
deepgram
Use when writing or reviewing C# code in this repo that enables Deepgram intelligence overlays on Speech-to-Text requests. Covers `PreRecordedSchema` analytics…
official
deepgram-dotnet-management-api
deepgram
Use when writing or reviewing C# code in this repo that calls Deepgram Management APIs for projects, models, keys, members, invitations, usage, balances, and…
official
deepgram-dotnet-text-intelligence
deepgram
Use when writing or reviewing C# code in this repo that calls Deepgram Text Intelligence / Read (`/read`) for sentiment, summarization, topic detection, and…
official
deepgram-dotnet-text-to-speech
deepgram
Use when writing or reviewing C# code in this repo that calls Deepgram Text-to-Speech. Covers `ClientFactory.CreateSpeakRESTClient()` with `ToStream` /…
official
deepgram-dotnet-voice-agent
deepgram
Use when writing or reviewing C# code in this repo that builds an interactive Deepgram Voice Agent over WebSocket. Covers…
official
deepgram-go-audio-intelligence
deepgram
Use when writing or reviewing Go code in this repo that applies summaries, topics, intents, sentiment, language detection, diarization, redaction, or entity…
official