Skip to content

Talk to Alice, a voice agent that provides live stock information and generates real stock charts, spreadsheets, and more!

License

Notifications You must be signed in to change notification settings

bklieger-groq/voice-stockbot

Repository files navigation


AI Voice StockBot Powered by Groq with Tool Use and Generative UI

Talk to Alice, an AI Voice Agent Providing Real-Time Stock Market Answers with Interactive Charts, Spreadsheets, and More!

OverviewFeaturesInterfacesQuickstartCredits


stockbot-dec-1.1.mp4

Overview

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.

Features

  • 🤖 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

Example Interfaces

Description Widget
Breakdown of Financial Data for Stocks
Get detailed financial metrics and key performance indicators for any stock.
Breakdown of Financial Data for Stocks
Show Current Price of Stocks
Track and compare the price of stocks over the past day.
Price of Stocks
Financial Data in Spreadsheets
Create spreadsheets of financial data for any public company
Financial Data
Compare Price History of Company With Industry Competitors
Track and compare the historical prices of companies in the same industry together.
Price History of Stocks
Heatmap of Daily Market Performance
Visualize market trends at a glance with an interactive heatmap.
Heatmap of Daily Market Performance

Quickstart

Important

To use StockBot, you can use a hosted version at coming soon. Alternatively, you can run Voice StockBot locally using the quickstart instructions.

  1. 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.

  2. Create File for Environment Variables

    cp env-example.txt .env
  3. 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

  4. Run the Application

    docker-compose up --build

Your application will be available at localhost:3000.

Changelog

See CHANGELOG.md to see the latest changes and versions. Major versions are archived.

Credits

This app was developed by Benjamin Klieger at Groq and uses the xRx framework created by 8090 Solutions: Github Repository.

About

Talk to Alice, a voice agent that provides live stock information and generates real stock charts, spreadsheets, and more!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published