For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Ask AIPlaygroundLoginFree API Key
HomeAPI ReferenceVoice AgentSpeech-to-TextText-to-SpeechIntelligenceSelf-Hosted Deployments
HomeAPI ReferenceVoice AgentSpeech-to-TextText-to-SpeechIntelligenceSelf-Hosted Deployments
    • Home
    • Ask AI
    • Support
    • Changelog
        • Getting Started
        • Installation
        • Authentication
        • Speech-to-Text
        • Text-to-Speech
        • Text Intelligence
        • Account Management
        • MCP Server
        • Shell Completion
        • Plugin System
      • Agentic developer tools
  • Trust & Security
    • Security Policy
    • Data Privacy Compliance
    • Information Security & Privacy
  • SDKs
    • SDK Features
  • Guides
LogoLogo
Ask AIPlaygroundLoginFree API Key
On this page
  • Basic Analysis
  • Analyze a URL
  • Piped Input
  • Available Features
  • Sentiment Analysis
  • Topic Detection
  • Summarization
  • Intent Recognition
  • Full Analysis
  • Output Format
  • Use Cases
  • Summarize Transcripts
  • Analyze Customer Feedback
Developer ToolsCommand-Line Interface

Text Intelligence Commands

Analyze text for sentiment, topics, summaries, and intents using the dg CLI.
Was this page helpful?
Previous

Account Management Commands

Manage projects, API keys, team members, and usage with the dg CLI.
Next
Built with

Basic Analysis

$dg read document.txt

Analyze a URL

$dg read https://example.com/article.txt

Piped Input

$cat transcript.txt | dg read
$echo "Your text here" | dg read

Available Features

Sentiment Analysis

$dg read document.txt --sentiment

Output includes sentiment per sentence and overall document sentiment.

Topic Detection

$dg read document.txt --topics

Returns detected topics with confidence scores.

Summarization

$dg read document.txt --summarize

Generates a brief summary of the content.

Intent Recognition

$dg read document.txt --intents

Detects user intents within the text.

Full Analysis

$dg read document.txt --sentiment --topics --summarize --intents

Output Format

$dg read document.txt -o json # JSON (structured)
$dg read document.txt -o yaml # YAML
$dg read document.txt -o table # ASCII table
$dg read document.txt -o text # Plain text

Use Cases

Summarize Transcripts

$dg listen meeting.mp3 | dg read --summarize

Analyze Customer Feedback

$dg read feedback.txt --sentiment --topics