Use when writing or reviewing Java code in this repo that calls Deepgram Text Intelligence / Read (`/v1/read`) for text analysis. Covers `client.read().v1().text().analyze(...)` with `ReadV1Request` or `TextAnalyzeRequest`. Use `deepgram-java-audio-intelligence` when the source is audio instead of text. Triggers include "read api", "text intelligence", "analyze text", "sentiment", "topics", "intents", and "summarize text".
90
88%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Analyze text you already have — transcripts, chats, documents, or other plain text — via /v1/read.
Use a different skill when:
deepgram-java-audio-intelligence.import com.deepgram.DeepgramClient;
DeepgramClient client = DeepgramClient.builder()
.apiKey(System.getenv("DEEPGRAM_API_KEY"))
.build();import com.deepgram.resources.read.v1.text.requests.TextAnalyzeRequest;
import com.deepgram.types.ReadV1Request;
import com.deepgram.types.ReadV1RequestText;
import com.deepgram.types.ReadV1Response;
ReadV1RequestText textBody = ReadV1RequestText.builder()
.text("Life moves pretty fast. If you don't stop and look around once in a while, you could miss it.")
.build();
TextAnalyzeRequest request = TextAnalyzeRequest.builder()
.body(ReadV1Request.of(textBody))
.sentiment(true)
.topics(true)
.intents(true)
.language("en")
.build();
ReadV1Response response = client.read().v1().text().analyze(request);
response.getResults().getTopics().ifPresent(System.out::println);
response.getResults().getIntents().ifPresent(System.out::println);
response.getResults().getSentiments().ifPresent(System.out::println);import com.deepgram.resources.read.v1.text.types.TextAnalyzeRequestCustomIntentMode;
import com.deepgram.resources.read.v1.text.types.TextAnalyzeRequestCustomTopicMode;
import java.util.Arrays;
TextAnalyzeRequest request = TextAnalyzeRequest.builder()
.body(ReadV1Request.of(textBody))
.language("en")
.sentiment(true)
.topics(true)
.intents(true)
.customTopic(Arrays.asList("Customer Retention", "Product Quality"))
.customTopicMode(TextAnalyzeRequestCustomTopicMode.EXTENDED)
.customIntent(Arrays.asList("Request Refund", "Complaint"))
.customIntentMode(TextAnalyzeRequestCustomIntentMode.EXTENDED)
.build();import com.deepgram.AsyncDeepgramClient;
import java.util.concurrent.CompletableFuture;
AsyncDeepgramClient asyncClient = AsyncDeepgramClient.builder()
.apiKey(System.getenv("DEEPGRAM_API_KEY"))
.build();
CompletableFuture<com.deepgram.types.ReadV1Response> future =
asyncClient.read().v1().text().analyze(request);TextAnalyzeRequest.builder().body(ReadV1Request.of(...)) is the high-level request pathReadV1RequestText or URL-based ReadV1Request variantslanguage, sentiment, summarize, topics, intents, customTopic, customTopicMode, customIntent, customIntentMode, callback, callbackMethod, tagtext().analyze(ReadV1Request), text().analyze(TextAnalyzeRequest), plus async and withRawResponse() variantsReadV1Response.getResults()src/main/java/com/deepgram/resources/read/v1/text/ and examples/read/. No reference.md file is present here./llmstxt/developers_deepgram_llms_txtbody(ReadV1Request.of(...)), not raw maps. This SDK is strongly typed.TextAnalyzeRequest wraps both query-style options and the request body. ReadV1Request alone only supplies the input content.STRICT or EXTENDED) if you want deterministic behavior.summarize separately from Listen V1. Do not assume Listen's versioned summarize enum applies here.AsyncDeepgramClient and CompletableFuture directly.examples/read/AnalyzeText.javaexamples/read/AdvancedAnalysis.javaFor 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).
de2dd4b
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.