Skip to content

payall03/voice-style-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Voice Style Bot (Solar Industries Internship) ## Overview A simple FastAPI-based NLP bot that accepts text transcripts, classifies intent, extracts entities, and calls a mock CRM. ## Setup 1. Install dependencies: pip install fastapi uvicorn requests pytest 2. Run Mock CRM: uvicorn mock_crm:app --port 8001 3. Run Bot: uvicorn app:app --port 8000 ## Example curl -X POST http://localhost:8000/bot/handle -H "Content-Type: application/json" -d "{"transcript": "Add a new lead Rohan Sharma from Gurgaon phone 9876543210"}" ## Output Example { "intent": "LEAD_CREATE", "entities": {"name": "Rohan Sharma", "phone": "9876543210", "city": "Gurgaon"}, "crm_call": {"endpoint": "...", "method": "POST", "status_code": 200}, "result": {"lead_id": "...", "status": "NEW"} }# voice-style-bot

About

Voice-style bot: intent + entity extraction + mock CRM integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages