text-intelligence
БесплатноБез исполняемых скриптовНе проверенAnalyze text you already have with Deepgram's Read API. Use when a task says "text intelligence", "read API", "/v1/read", "analyze text", "sentiment of this…
от deepgram★ 28 звёзд на GitHubОб этом скилле
Deepgram Text Intelligence (Read API)
POST https://api.deepgram.com/v1/read takes text and returns analysis. No audio, no transcript,
no streaming — one request, one response. Four features: summarize, sentiment, topics,
intents.
Decide first
- Your input is text — a transcript you already have, a document, an email, a chat log, a support ticket: stay here.
- Your input is audio: do not transcribe and then call this.
/v1/listenruns the same analysis during transcription, in a single API call. Open theaudio-intelligenceskill. - You need entity detection (names, amounts, dates): only
/v1/listendetects entities (/v1/readdoes not offerdetect_entities), so your input has to be audio. - You need streaming: there is none.
/v1/readis POST-only — a GET returns 405, and so does a WebSocket upgrade against the same path.
Verified request
Both language and at least one feature are required. Omitting either is a 400.
curl -s -X POST 'https://api.deepgram.com/v1/read?language=en&summarize=v2&sentiment=true&topics=true&intents=true' \
-H "Authorization: Token $DEEPGRAM_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"text":"Hi, this is Maria Gonzalez from Acme Corp in Denver. The invoice we received on March 3rd double-charged us on the annual plan, and the second line item does not match the quote your sales team sent us in February. I would like a refund for the duplicate charge and I want to cancel the second subscription. Please confirm by email once the refund is issued, and let me know whether we need to sign a new agreement to keep the remaining seats active through the end of the year."}'
Returns 200. The sample runs to 90 words because summarize needs more than 50 words of input.
For a shorter input, results.summary.text is the original text returned unchanged, and no
tokens in or out are billed as summarization usage, so metadata.summary_info reports zero. A
summary that reads exactly like the input is the input. [3]
Where each result lives:
| Result | Path |
|---|---|
| Summary | results.summary.text |
| Sentiment per segment | results.sentiments.segments[] — text, start_word, end_word, sentiment, sentiment_score |
| Sentiment overall | results.sentiments.average — sentiment, sentiment_score |
| Topics | results.topics.segments[].topics[] — topic, confidence_score |
| Intents | results.intents.segments[].intents[] — intent, confidence_score |
The parameter is sentiment; the result key is sentiments. metadata carries request_id,
created, language, and one summary_info / sentiment_info / topics_info / intents_info
block per enabled feature, each with model_uuid, input_tokens, and output_tokens. That token
count is what you reconcile usage against. sentiment_score runs from -1 (most negative) to 1
(most positive), and the break point between neutral and positive or negative is 0.333...
either side of zero. confidence_score on topics and intents runs from 0 to 1. [3]
The body: exactly one of text or url
Three accepted shapes:
Content-Type: application/jsonwith{"text": "..."}.Content-Type: application/jsonwith{"url": "..."}, where the URL serves eithertext/plainorapplication/jsonwith atextfield. Deepgram fetches it. [7]Content-Type: text/plainwith the raw text as the whole body, no JSON wrapper.
Sending both text and url, or neither, returns 400 {"err_code":"PAYLOAD_ERROR","err_msg":"Failed to deserialize JSON payload. Please specify exactly one of \text` or `url` in the JSON body."}. Any other Content-Typereturns 415{"err_code":"UNSUPPORTED_MEDIA_TYPE","err_msg":"`Content-Type`
header is not supported. `Content-Type` must be either `text/plain` or `application/json`."}`. [7]
Input is capped at 150K tokens per request. Above that the response is 400
{"err_code":"TOKEN_LIMIT_EXCEEDED","err_msg":"Text input for <api_name> currently supports up to 150K tokens. Please revise your text input to fit within the defined token limit. For more information, please visit our API documentation."}. [3]
Chunk a document that approaches 150K tokens rather than sending it whole.
Hosts and concurrency
/v1/read is served on api.eu.deepgram.com, api.au.deepgram.com, and api.in.deepgram.com
as well as api.deepgram.com. A request to a regional host is never routed outside that region;
if the region is unavailable the request fails rather than falling back. [10]
Concurrency limits are scoped to the project, not the key, so every key in a project draws from
one pool and adding projects to an account does not raise it. On Pay as You Go and Growth, each
Read feature allows up to 10 concurrent requests on api.deepgram.com; on the EU, AU, and India
hosts summarize and topics keep 10 while sentiment and intents drop to 5. Enterprise starts
at 10 per feature, 20 fo
Установить text-intelligence в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл text-intelligence?
Analyze text you already have with Deepgram's Read API. Use when a task says "text intelligence", "read API", "/v1/read", "analyze text", "sentiment of this text", "summarize this transcript", "summarize a document", "topic detection on text", "intent recognition on text", "analyze a support ticket", or "analyze a chat log". One REST call, POST /v1/read, with four features: summarize, sentiment, topics, intents. Covers the two required query parameters people miss, the text-versus-url body, the English-only limit, and why entity detection is not here. Routes to audio-intelligence for audio input and to the api, docs, recipes, starters, and per-language SDK skills.
Как установить скилл text-intelligence?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл text-intelligence запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic