Skip to content

gab-e-ai/llama2-chat-with-documents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat-with-website

Simple Chainlit app to have interaction with your documents.

Chat with your documents 🚀

System Requirements

You must have Python 3.9 or later installed. Earlier versions of python may not compile.


Steps to Replicate

  1. Fork this repository and create a codespace in GitHub as I showed you in the youtube video OR Clone it locally.
git clone https://github.com/sudarshan-koirala/chat-with-website.git
cd chat-with-website
  1. Rename example.env to .env with cp example.env .envand input the OpenAI API key as follows. Get OpenAI API key from this URL. You need to create an account in OpenAI webiste if you haven't already.

    OPENAI_API_KEY=your_openai_api_key
    
  2. Create a virtualenv and activate it

    python3 -m venv .venv && source .venv/bin/activate
    
  3. Run the following command in the terminal to install necessary python packages:

    pip install -r requirements.txt
    
  4. Run the following command in your terminal to start the chat UI:

    streamlit run chat_with_website.py
    

About

Simple Chainlit app to have interaction with your documents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%