Skip to content

A Gen AI RAG Chatbot App with a good-looking design , where a user can chat with his own data using zero-to-few shots prompts and stored chat history.

Notifications You must be signed in to change notification settings

hanantabak2/RAG_chatbot_on_Streamlit_with_Speech_Functionality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RAG Chatbot on Streamlit with Speech Functionality

Welcome to the RAG Chatbot on Streamlit with Speech Functionality! This project leverages Retrieval-Augmented Generation (RAG) models to create an interactive chatbot with text-to-speech capabilities, using Huggingface, OpenAI, and Streamlit.

Table of Contents

Overview

The RAG Chatbot on Streamlit with Speech Functionality is an application that allows users to interact with a chatbot using their own data, supported by zero-to-few shot prompts and chat history. The chatbot uses a combination of Huggingface embeddings, OpenAI language models, and Streamlit for the UI, incorporating text-to-speech functionality for an enhanced user experience.

Read more about the project in the Medium article.

Features

  • RAG Model Integration: Utilize Retrieval-Augmented Generation for intelligent responses.
  • Text-to-Speech: Convert chatbot responses to speech for an interactive experience.
  • User-Friendly Interface: Built with Streamlit for ease of use.
  • Chat History: Maintain and access previous chat interactions.
  • Custom Data: Chat with data specific to your requirements.

Installation

To get started with the RAG Chatbot, follow these steps:

  1. Clone the Repository:

bash

Copy code

git clone https://github.com/hanantabak2/RAG_chatbot_on_Streamlit_with_Speech_Functionality.git

cd RAG_chatbot_on_Streamlit_with_Speech_Functionality

  1. Install Dependencies:

bash

Copy code

pip install -r requirements.txt

  1. Run the Application:

bash

Copy code

streamlit run app.py

Usage

  1. Start the Application: Run the following command:

bash

Copy code

streamlit run app.py

  1. Access the UI: Open your web browser and go to http://localhost:8501.
  2. Chat with the Bot: Enter your queries in the chat interface and interact with the bot using your data.
  3. Use Text-to-Speech: Enable the text-to-speech functionality to hear the chatbot's responses.

Acknowledgments

Feel free to replace placeholders and add any additional sections or information specific to your project.

About

A Gen AI RAG Chatbot App with a good-looking design , where a user can chat with his own data using zero-to-few shots prompts and stored chat history.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages