Contextly.ai turns talk into action — bridging human conversations with intelligent automation.
Contextly.ai transforms client–advisor conversations into actionable tasks using AI. It provides a React + Vite frontend and a FastAPI backend that connects to Hugging Face’s Apertus 8B Instruct model.
- Upload or select transcript samples
- View raw and cleaned transcripts with highlighted evidence
- Extracted tasks and todos from client conversations
- POST /extract_labels → classify transcript
- GET /list_transcripts → list all available .txt
- GET /get_transcript/{filename} → get transcript text
Swagger UI available at http://127.0.0.1:8000/docs
Apertus 8B Instruct 2509 via Hugging Face Router API Optimized for high recall in compliance-sensitive banking tasks
- Extracts 8 canonical task types with evidence spans, highlight text where tasks are extracted from within transcript
- Send Feeback to the Model
- Improve chatbox
-
Clone & enter backend cd backend
-
Create and activate virtual environment For macOS/Linux: python3 -m venv .venv source .venv/bin/activate For Windows: python -m venv .venv .venv\Scripts\activate
-
Install dependencies python -m pip install -r requirements.txt
-
Run FastAPI server Development: uvicorn app.main:app --reload --port 8000
Deployment: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
- Test backend & API Documentation Open http://127.0.0.1:8000/docs to try endpoints directly.
-
Clone & enter frontend cd frontend
-
Install dependencies npm install
-
Run dev server npm run dev
Runs at http://localhost:5173.
Frontend will call /extract_labels → backend → Hugging Face model.
POST /extract_labels → classify transcript
GET /list_transcripts → list all available .txt
GET /get_transcript/{filename} → get transcript text
Backend requires Hugging Face API token: HF_TOKEN=your_hf_token_here
Put this in backend/.env.
Frontend: React, Vite, TypeScript, CSS Backend: Python, FastAPI, Uvicorn AI Model: Hugging Face Apertus 8B Instruct Deployment: Azure