Skip to content

An application able to communicate via voice using Llama3 locally.

Notifications You must be signed in to change notification settings

owais142002/AI-Speech-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Speech Bot

Overview

This project consists of a React-based frontend that listens to user queries, sends them to a Flask backend, and receives responses generated by a locally set up Llama3 language model. The backend handles the processing and communication with the LLM to provide intelligent answers to the queries. There is a system message in the main.py file inside the backend folder which acts as the persona of the chatbot, so you can change it and get the bot answer according to your content or needs.

Project Structure

  • frontend/: Contains the React application code.
  • backend/: Contains the Flask application code and configuration for the Llama3 language model.

Getting Started

Prerequisites

  • Node.js and npm installed on your machine.
  • Python and pip installed on your machine.
  • Llama3 language model set up locally.

Running the Frontend

cd frontend
npm install
npm start

The frontend should now be running on http://localhost:3000.

Running the Backend

cd backend
pip install -r requirements.txt
flask run

The backend should now be running on http://localhost:5000.

Using the Application

1- Open the frontend application in your web browser (http://localhost:3000). 2- Interact with the application by pressing the voice button to start listening to your query. 3- The query will be sent to the Flask backend, processed by the Llama3 language model, and the response will be displayed on the frontend.

Contributing

Feel free to contribute to this project by submitting issues or pull requests. Contributions are welcome!

License

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

Acknowledgments

1- React 2- Flask 3- Llama3

About

An application able to communicate via voice using Llama3 locally.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published