This is a project that i started out to help a VC build a AI agent who communicates through audio only The agent represents a automotive showroom agent and helps with your queries about your next car. (Watch out, it's pretty realistic and will try to sell you the pricier one!!)
- Conversation Starter: Begin a conversation with the AI assistant.
- Audio to Text: Transcribe audio to text using an OpenAI model.
- Fast Inference: Generate responses quickly with Groq.
- SQL Agent: Generates SQL query to query the PostgreSQL instance to retrieve top_k records ordered by price, desc. Then create the response
- Text to Speech: Convert text back to speech using gTTS.
- Frontend Design: Design the frontend interface using Streamlit.
This is just to showcase what I could pull together in a few weaks. There is a cleaner way to build this with Langgraph and Im learning the best practices
- Clone the repository:
git clone https://github.com/AMX0013/Sales_AI_agent.git
- Create and activate virtual environment:
python -m venv venv venv/Scripts/activate
- Install the required libraries:
pip install -r requirements.txt
- Create a
.envfile using.env-exampleas a template:cp .env-example .env
- Run the main application script:
streamlit run src/app.py
Hire me!!