Talk to Alice, an AI Voice Agent Providing Real-Time Stock Market Answers with Interactive Charts, Spreadsheets, and More!
Overview • Features • Interfaces • Quickstart • Credits
stockbot-dec-1.1.mp4
Voice StockBot is an AI-powered voice chatbot that leverages 8090's xRx framework, Whisper and Llama3 70b on Groq, TTS on Elevenlabs, Polygon.io's stock API, and TradingView’s live widgets to respond in conversation with the user with live, interactive charts and interfaces specifically tailored to your requests. Groq's speed makes tool calling and providing a response near instantaneous, allowing for a sequence of two API calls with separate specialized prompts to return a response.
Important
Note: StockBot may provide inaccurate information and does not provide investment advice. It is for entertainment and instructional use only.
- 🤖 Real-time AI Voice Chatbot: Engage with AI powered by Llama3 70b to request stock news, information, and charts through talking directly with the agent
- 📊 Interactive Stock Charts: Receive near-instant, context-aware responses with interactive TradingView charts that host live data
- 🔄 Adaptive Interface: Dynamically render TradingView UI components for financial interfaces tailored to your specific query
- ⚡ Groq-Powered Performance: Leverage Groq's cutting-edge inference technology for near-instantaneous responses and seamless user experience
- 🌐 Multi-Asset Market Coverage: Access comprehensive data and analysis across stocks, forex, bonds, and cryptocurrencies
Important
To use StockBot, you can use a hosted version at coming soon. Alternatively, you can run Voice StockBot locally using the quickstart instructions.
-
Clone the Repository
git clone --recursive https://github.com/bklieger-groq/voice-stockbot.git
The recursive flag ensures the xRx library is downloaded as well.
-
Create File for Environment Variables
cp env-example.txt .env
-
Configure API Keys
- Add your Groq API key to
.env
:LLM_API_KEY="your_groq_api_key_here" GROQ_STT_API_KEY="your_groq_api_key_here"
- Configure TTS settings with your preferred provider (e.g., ElevenLabs)
You can obtain a Groq API key from the Groq console
- Add your Groq API key to
-
Run the Application
docker-compose up --build
Your application will be available at localhost:3000.
See CHANGELOG.md to see the latest changes and versions. Major versions are archived.
This app was developed by Benjamin Klieger at Groq and uses the xRx framework created by 8090 Solutions: Github Repository.