Skip to content

tejush1998/sales-eval

Repository files navigation

Saleval — Sales Call Evaluator

sales-eval.onrender.com

Upload a sales call recording in any language. Saleval transcribes audio with speaker diarization, and scores the call across 5 sales-quality criteria using AI.

YouTube URL support is available in the dev environment only.

Built with Express, React + Vite, Sarvam AI (transcription), and OpenRouter (DeepSeek).

Access is by invite only. Contact me to get access.

How it works

Recording → Sarvam saaras:v3 transcription + diarization → DeepSeek rating → results
  1. Upload an audio file (MP3, WAV, M4A)
  2. Sarvam transcribes audio with diarization — supports Hindi, English, and more
  3. DeepSeek (via OpenRouter) rates the call on 5 criteria
  4. Results show overall score, per-criteria breakdown, strengths, improvements, and the full transcript

App screenshot Results breakdown

Quick start

cp .env.example .env
# Edit .env — set SARVAM_API_KEY and OPENROUTER_API_KEY

npm install
npm run dev

Frontend at http://localhost:5173, backend at http://localhost:4000.

Production (Render)

# Render build command
npm install && npm run build

# Render start command
npm start

Set env vars (SARVAM_API_KEY, OPENROUTER_API_KEY, etc.) in the Render dashboard — no .env file needed. The backend serves both the API and the built frontend on a single port.

Requirements

  • Node.js 18+
  • npm 9+
  • ~500 MB disk for Puppeteer Chromium (tests only)

Tech stack

  • Backend: Express, multer, ffmpeg-static, sarvamai, OpenRouter API, cookie-parser
  • Frontend: React 18, Vite 8
  • DB: File-based JSON (backend/src/data/db.json)
  • Tests: Puppeteer

Project structure

├── backend/          Express API server
│   └── src/
│       ├── server.js
│       ├── routes/   evaluate, history
│       └── services/ youtube, sarvam, openrouter, db
├── frontend/         React + Vite SPA
│   └── src/
│       ├── App.jsx
│       └── components/ EvaluateForm, ResultsView, HistoryList, TimingsPanel
└── tests/            Puppeteer E2E

License

MIT

About

This App uses AI to evaluate performance of sales teams working in the field and gives them ratings on multiple parameters.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors