Skip to content
vedanshmathur7Public

About

Upload a call recording. Get transcript, revenue leak detection, sentiment analysis, compliance check, and agent coaching - in under 60 seconds

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CallSight

AI-powered conversation intelligence for sales and support calls.

Upload a call recording. Get transcript, revenue leak detection, sentiment analysis, compliance check, and agent coaching — in under 60 seconds.


What it does

You give it an audio file of a sales or support call. It returns:

  • Transcript — who said what and when (Agent vs Customer)
  • Revenue Leaks — moments where the agent missed an opportunity or gave away money
  • Sentiment — how the customer's mood changed across the call
  • Compliance — risky statements, false promises, legal issues
  • Agent Coaching — scored on opening, discovery, pitch, objection handling, closing
  • Keywords — competitors mentioned, buying signals, pain points, objections
  • Call Summary — outcome, action items, one-line summary

Quick Start

Backend

cd backend
cp .env.example .env        # fill in your API keys
pip install -e .

# start API server
uvicorn api.main:app --reload --port 8000

Frontend (React)

cd frontend
npm install
npm run dev                  # opens at http://localhost:5173

API Keys needed

Key For Get it
OPENAI_API_KEY LLM analysis (6 parallel calls) platform.openai.com — or any OpenAI-compatible provider
SARVAM_API_KEY Speech-to-text dashboard.sarvam.ai (free tier available)
HF_TOKEN Pyannote speaker diarization (optional) huggingface.co/settings/tokens

If HF_TOKEN is not set, diarization falls back to LLM-based speaker inference — still works well.


Supported Audio Formats

mp3, wav, m4a, aac, ogg, flac, webm — up to 100 MB per file.

Audio longer than 30s is automatically chunked and transcribed in parallel. No manual splitting needed.


LLM Provider

Not locked to OpenAI. Set LLM_BASE_URL in .env to use any OpenAI-compatible API:

LLM_BASE_URL=https://api.groq.com/openai/v1
LLM_MODEL=llama-3.3-70b-versatile

Works with Groq, Together AI, OpenRouter, Fireworks, local Ollama, or any aggregator.


Architecture summary

Audio file
  → audio_processor   (librosa → PCM16 WAV)
  → transcriber       (Sarvam AI, chunked + concurrent)
  → diarizer          (pyannote / LLM / naive)
  → analyzer          (6 parallel LLM calls)
  → store             (atomic JSON persistence)
  → FastAPI REST API
  → React frontend

See ARCHITECTURE.md for full technical detail.


Running the test call

A pre-built test call is in sample_calls/test_sales_call.mp3. It's a ~3-minute Hinglish sales call designed to trigger all leak types. Upload it to see a low-scoring call (grade D, multiple HIGH severity leaks, compliance violations).


Project structure

callsight/
├── backend/          Python — FastAPI + pipeline
├── frontend/         React — Vite + TypeScript + Tailwind
├── sample_calls/     Test recordings
├── README.md
└── ARCHITECTURE.md

About

Upload a call recording. Get transcript, revenue leak detection, sentiment analysis, compliance check, and agent coaching - in under 60 seconds

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages