Use when writing or reviewing Go code in this repo that applies summaries, topics, intents, sentiment, language detection, diarization, redaction, or entity extraction to audio inputs through Listen v1 REST. Route plain transcription to deepgram-go-speech-to-text and plain-text Read requests to deepgram-go-text-intelligence.
94
92%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
Use this skill for /v1/listen REST requests that combine transcription with analytics overlays.
Use a different skill when:
deepgram-go-speech-to-text)deepgram-go-text-intelligence)Set DEEPGRAM_API_KEY before creating the listen REST client.
export DEEPGRAM_API_KEY="your_api_key"package main
import (
"context"
"fmt"
"log"
api "github.com/deepgram/deepgram-go-sdk/v3/pkg/api/listen/v1/rest"
listen "github.com/deepgram/deepgram-go-sdk/v3/pkg/client/listen"
interfaces "github.com/deepgram/deepgram-go-sdk/v3/pkg/client/interfaces"
)
func main() {
if err := run(); err != nil {
log.Fatal(err)
}
}
func run() error {
ctx := context.Background()
client := listen.NewRESTWithDefaults()
dg := api.New(client)
resp, err := dg.FromURL(
ctx,
"https://dpgr.am/spacewalk.wav",
&interfaces.PreRecordedTranscriptionOptions{
Model: "nova-3",
Summarize: "v2",
Topics: true,
Sentiment: true,
},
)
if err != nil {
return err
}
if resp.Results.Summary != nil {
fmt.Println(resp.Results.Summary.Result)
}
return nil
}interfaces.PreRecordedTranscriptionOptions
Summarize (for example, "v2")TopicsIntentsSentimentDetectLanguageDetectEntitiesDiarizeRedactpkg/api/listen/v1/rest/interfaces/types.go
SentimentsTopicsIntentsEntitiesSummaryV2README.mddocs.gopkg/client/listen/v1/rest/client.gopkg/client/interfaces/v1/types-prerecorded.gopkg/client/interfaces/v1/types-stream.gopkg/api/listen/v1/rest/interfaces/types.gohttps://developers.deepgram.com/openapi.yamlhttps://developers.deepgram.com/asyncapi.yaml/llmstxt/developers_deepgram_llms_txthttps://developers.deepgram.com/docs/stt-intelligence-feature-overviewhttps://developers.deepgram.com/docs/summarizationhttps://developers.deepgram.com/docs/topic-detectionhttps://developers.deepgram.com/docs/intent-recognitionhttps://developers.deepgram.com/docs/sentiment-analysishttps://developers.deepgram.com/docs/language-detectionhttps://developers.deepgram.com/docs/redactionhttps://developers.deepgram.com/docs/diarizationLiveTranscriptionOptions does not expose the same summarize/topic/intent/sentiment/entity surface.pkg/api/listen/v1/rest; start from api.New(listen.NewRESTWithDefaults()), then layer analytics flags onto PreRecordedTranscriptionOptions.examples/speech-to-text/rest/summary/main.goexamples/speech-to-text/rest/sentiment/main.goexamples/speech-to-text/rest/topic/main.goexamples/speech-to-text/rest/intent/main.goFor 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/skillsThis SDK ships language-idiomatic code skills; deepgram/skills ships cross-language product knowledge (see api, docs, recipes, examples, starters, setup-mcp).
b7c92f4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.