Skip to content

digispect-intel/business_voice_agent_frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Business Voice Agent - Frontend

A FastHTML-based frontend for Agent Dave, an AI assistant for David McGrath's business website (digispectintelligence.com). This frontend provides the user interface for interacting with Agent Dave.

Overview

This frontend allows visitors to interact with Agent Dave, an AI assistant that can provide information about David McGrath's profile, expertise, and services at Digispect Intelligence. The application is built using FastHTML and provides voice-enabled interaction capabilities.

Features

  • Interactive UI for communicating with Agent Dave
  • Voice-enabled interaction capabilities
  • Information about David's profile and past experiences
  • Exploration of Data Science and AI business applications
  • Responsive design for all devices

Prerequisites

Configuration

  1. Copy the .env.example file and rename it to .env:
cp .env.example .env
  1. Update the .env file with your LiveKit and Restack configuration:
    • RESTACK_API_ENDPOINT: Your Restack backend endpoint (default: http://localhost:6233)
    • LIVEKIT_API_KEY: Your LiveKit API key
    • LIVEKIT_API_SECRET: Your LiveKit API secret
    • LIVEKIT_URL: Your LiveKit WebSocket URL

Installation and Setup

Note: Make sure to also set up and run the business_voice_agent_backend repository for the complete system.

1. Clone the repository

git clone https://github.com/digispect-intel/business_voice_agent_frontend.git
cd business_voice_agent_frontend

2. Create a virtual environment

python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

3. Install dependencies

pip install -r requirements.txt

4. Run the frontend

python main.py

The application will be available at http://localhost:5001 (or the port specified in your FastHTML configuration).

Usage

  1. Ensure the business_voice_agent_backend is running
  2. Start the frontend application using the steps above
  3. Open your browser to the local URL
  4. Click "Start Voice Chat" to begin interacting with Agent Dave
  5. Speak naturally to ask questions about David's expertise and services
  6. Click "End Chat" when you're finished

Integration with Backend

This frontend connects with the business_voice_agent_backend repository to provide a complete AI assistant experience. The backend handles the voice processing pipeline and AI model integration.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For questions or support, contact david.mcgrath@digispectintelligence.com

References

This repo is based on the examples here:

About

A FastHTML-based frontend for a Business Voice Agent, an AI assistant for a business website. This frontend provides a user interface for interacting with business_voice_agent_backend.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages