Skip to content

Shashank1130/Chat-With-Websites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat With Websites

This GitHub repository hosts the Chat With Websites project. It is a chatbot capable of interacting with websites, extracting information, and communicating in a user-friendly manner. The project seamlessly integrates the powerful capabilities of LangChain with a Streamlit graphical user interface to enhance the overall user experience.

Features

  • Website Interaction: The chatbot uses the latest version of LangChain to interact with and extract information from various websites.
  • Intelligent Communication: Communicate with the chatbot naturally and receive relevant responses.
  • Streamlit GUI: A clean and intuitive user interface built with Streamlit, making it accessible for users with varying levels of technical expertise.
  • Python-based: Entirely coded in Python.

How it Looks and Works

For demo play video!
Working.mp4

Brief explanation of how RAG works

A RAG bot is short for Retrieval-Augmented Generation. This means that we are going to "augment" the knowledge of our LLM with new information that we are going to pass in our prompt. We first vectorize all the text that we want to use as "augmented knowledge" and then look through the vectorized text to find the most similar text to our prompt. We then pass this text to our LLM as a prefix.

Untitled design

Installation

Ensure you have Python installed on your system. Then clone this repository:

git clone https://github.com/your-username/chat-with-websites.git
cd chat-with-websites

Install the required packages:

pip install -r requirements.txt

Create your own .env file with the following variables:

OPENAI_API_KEY=[your-openai-api-key]

Usage

To run the Streamlit app:

streamlit run app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages