deepgram-go-text-intelligence
/deepgram-go-text-intelligence
Wysyła w Go tekst do Deepgram Read przez klienta analyze, w tym analizę sentymentu, tematów i intencji dla treści tekstowych.
- Autor
- deepgram ↗
- Repozytorium
- deepgram-go-sdk ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 14.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 5
Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wysyła w Go tekst do Deepgram Read przez klienta analyze, w tym analizę sentymentu, tematów i intencji dla treści tekstowych.
Oryginalny opis (EN)
Use when writing or reviewing Go code in this repo that sends text to Deepgram Read via the analyze client. Route speech/audio inputs to deepgram-go-speech-to-text or deepgram-go-audio-intelligence, and management/admin work to deepgram-go-management-api.
Jak działa
- When to use this product
- Authentication
- Quick start
- Key parameters
- API reference (layered)
- Gotchas
- Example files in this repo
- Central product skills
Podgląd SKILL.md
---
name: deepgram-go-text-intelligence
description: Use when writing or reviewing Go code in this repo that sends text to Deepgram Read via the analyze client. Route speech/audio inputs to deepgram-go-speech-to-text or deepgram-go-audio-intelligence, and management/admin work to deepgram-go-management-api.
---
# Using Deepgram Text Intelligence from the Go SDK
## When to use this product
Use this skill for plain-text analysis handled by `pkg/client/analyze`.
- summarization
- sentiment on text input
- URL, file, or stream based Read requests
Use a different skill when:
- your source material is audio and should go through `/v1/listen` (`deepgram-go-audio-intelligence`)
- you need transcription first (`deepgram-go-speech-to-text`)
- you need admin endpoints (`deepgram-go-management-api`)
## Authentication
Set `DEEPGRAM_API_KEY` before creating the analyze client.
```bash
export DEEPGRAM_API_KEY="your_api_key"
```
## Quick start
```go
package main
import (
"context"
"fmt"
"log"
"strings"
api "github.com/deepgram/deepgram-go-sdk/v3/pkg/api/analyze/v1"
analyze "github.com/deepgram/deepgram-go-sdk/v3/pkg/client/analyze"
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 := analyze.NewWithDefaults()
dg := api.New(client)
resp, err := dg.FromStream(
ctx,
strings.NewReader("Deepgram provides APIs for speech, voice, and media intelligence."),
&interfaces.AnalyzeOptions{Summarize: true, Sentiment: true},
)
if err != nil {
return err
}
if resp.Results.Summary != nil {
fmt.Println(resp.Results.Summary.Text)
}
return nil
}
```
## Key parameters
- `interfaces.AnalyzeOptions`
- common fields include `Summarize`, `Sentiment`, and other Read features exposed by the analyze client
- request helpers
- on `pkg/api/analyze/v1`: `api.New(client).FromFile`, `FromStream`, `FromURL`
- constructors
- `analyze.NewWithDefaults()`
- `analyze.New(apiKey, options)`
## API reference (layered)
1. In-repo reference
- `README.md`
- `docs.go`
- `pkg/client/analyze/client.go`
- `pkg/client/analyze/v1/client.go`
- `pkg/client/interfaces/v1/types-analyze.go`
- `pkg/api/version/analyze-version.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/reference/text-intelligence/analyze-text`
- `https://developers.deepgram.com/docs/text-intelligence`
- `https://developers.deepgram.com/docs/text-sentiment-analysis`
## Gotchas
1. The Go package is named `analyze`, but the product route maps to Read / text intelligence.
2. Do not send raw audio here; audio intelligence features live on the listen REST path.
3. `FromFile`, `FromStream`, and `FromURL` live on the `pkg/api/analyze/v1` wrapper, not on the base client.
4. Reuse `context.Context` and stream readers for large inputs instead of materializing everything into one string.
## Example files in this repo
- `examples/analyze/summary/main.go`
- `examples/analyze/sentiment/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:
```bash
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`).
Wersje
W bazie nie ma innych skilli o nazwie deepgram-go-text-intelligence.
Migawka bazy z 13.11.2026 · wersja paczki 20f86d3aab88 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 3 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100deepgram-java-text-intelligence
Obsługuje w Javie Deepgram Text Intelligence (/v1/read) do analizy tekstu: sentyment, tematy, intencje i podsumowania przez client.read().v1().text().analyze z ReadV1Request lub TextAnalyzeRequest. - 100deepgram-dotnet-text-intelligence
Obsługuje w C# Deepgram Text Intelligence (Read) dla tekstu i adresów URL z tekstem: sentyment, streszczenia, wykrywanie tematów i rozpoznawanie intencji przez klienta Analyze. - 100deepgram-go-speech-to-text
Obsługuje w Go transkrypcję nagrań przez Listen v1 REST oraz strumieniowanie dźwięku na żywo przez Listen v1 WebSocket w SDK Deepgram. - 100deepgram-python-text-intelligence
Obsługuje w Pythonie Deepgram Text Intelligence (/v1/read): sentyment, streszczanie, wykrywanie tematów i rozpoznawanie intencji w tekście lub pod adresem URL. - 100deepgram-rust-text-intelligence
Obsługuje w Rust Deepgram Text Intelligence przez typowanego klienta /v1/read, dostępnego za funkcją Cargo read. - 100deepgram-go-audio-intelligence
Stosuje w Go przez Listen v1 REST analitykę audio Deepgram: podsumowania, tematy, intencje, sentyment, wykrywanie języka, diaryzację, redakcję i ekstrakcję encji.