Skip to content

deepgram-starters/node-text-intelligence

Node Text Intelligence Starter

Text intelligence demo using Deepgram's Read API with Node.js backend and web frontend.

Prerequisites

Quick Start

  1. Install dependencies
pnpm install

This automatically installs both backend and frontend dependencies.

  1. Set your API key

Create a .env file:

DEEPGRAM_API_KEY=your_api_key_here
  1. Run the app

Development mode (with hot reload):

pnpm dev

Production mode (build and serve):

pnpm build
pnpm start

Open http://localhost:3000

Features

  • Analyze text or URLs for intelligence insights
  • Multiple analysis types:
    • Summarization: Generate concise summaries
    • Topic Detection: Identify key topics
    • Sentiment Analysis: Detect positive, negative, or neutral sentiment
    • Intent Recognition: Understand user intentions
  • View analysis history

How It Works

  • Backend (server.js): Node.js/Express server implementing the /text-intelligence/analyze endpoint
  • Frontend (frontend/): Vite-powered web UI for text analysis and results display
  • API: Integrates with Deepgram's Text Intelligence API

Getting Help

Contributing

See our Contributing Guidelines to learn about contributing to this project.

Code of Conduct

This project follows the Deepgram Code of Conduct.

Security

For security policy and procedures, see our Security Policy.

License

MIT - See LICENSE

About

Get started using Deepgram's Text Intelligence with this Node demo app

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published