|
|
||
|---|---|---|
| artifacts | ||
| data | ||
| docs | ||
| in | ||
| models | ||
| tests | ||
| voiceapp | ||
| voiceapp.egg-info | ||
| .gitignore | ||
| README.md | ||
| SPEC.md | ||
| classification_taxonomy.json | ||
| deploy.md | ||
| pyproject.toml | ||
| usage.md | ||
| voiceapp.toml | ||
README.md
VoiceApp
VoiceApp is a local call analytics pipeline for audio recordings and CRM-linked call data.
It can work in two input modes:
directorymode for local audio filesbitrixmode for Bitrix Box activities and recordings
The project is designed for on-prem or desktop use:
- audio is processed locally
- results are stored in SQLite
- transcription uses a local Faster-Whisper model
- analysis is done with a rule-based backend or an optional local LLM
What It Does
- discovers call recordings from a folder or Bitrix
- decodes audio through
ffmpeg - transcribes speech with Faster-Whisper
- assigns speaker turns with a heuristic diarizer
- extracts entities such as phones, companies, and person names
- classifies each call with a hybrid layer: rules, optional LLM, and optional similarity search
- enriches calls from local CSV CRM dictionaries
- imports company and contact dictionaries into SQLite
- matches phone numbers against CRM data
- stores full processing results in a local database
Main Commands
python -m voiceapp doctor
python -m voiceapp fetch-model
python -m voiceapp ingest calls
python -m voiceapp ingest company
python -m voiceapp ingest contact
python -m voiceapp list
python -m voiceapp list-ids
python -m voiceapp show <call_id_or_filename>
Cleanup commands:
python -m voiceapp clear-contacts --yes
python -m voiceapp clear-companies --yes
python -m voiceapp clear-calls --yes
python -m voiceapp clear-db --yes
Quick Start
- Create and activate a virtual environment.
- Install the project:
python -m pip install -e .
- Make sure
ffmpegis available:
python -m voiceapp doctor
- Download the local transcription model:
python -m voiceapp fetch-model
- Import CRM dictionaries if you have them:
python -m voiceapp ingest company
python -m voiceapp ingest contact
- Process calls:
python -m voiceapp ingest calls
Configuration
The main configuration file is voiceapp.toml.
Default paths:
- input:
in/call_records - database:
data/voiceapp.sqlite3 - model:
models/faster-whisper-medium
Bitrix mode can be enabled by setting:
[input]
source = "bitrix"
See deploy.md for Linux and Windows deployment guidance.
Project Structure
voiceapp/- application codetests/- automated testsdocs/usage.md- usage guidedeploy.md- deployment instructionsSPEC.md- architecture and system specificationin/- input datadata/- SQLite databasemodels/- local speech modelsartifacts/- scratch outputs and probes
Documentation
Notes
- The project is fully local by default.
- CRM enrichment is based on imported company/contact CSV files and Bitrix data when configured.
- The pipeline is idempotent for already processed files and imported CRM rows.