Giter Site home page Giter Site logo

terminalgravity / chat-with-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sudarshan-koirala/chat-with-website

0.0 0.0 0.0 17 KB

Simple Streamlit and Chainlit app to have interaction with your website URL.

License: MIT License

Python 100.00%

chat-with-website's Introduction

chat-with-website

Simple Streamlit as well as Chainlit app to have interaction with your website URL.

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
    

    For langsmith, take the environment variables from LangSmith website

  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_openai.py
    streamlit run chat_with_website_ollama.py
    
  5. For chainlit, use the following command in your terminal.

python3 ingest.py #for ingesting
chainlit run main.py #for chainlit ui

chat-with-website's People

Contributors

sudarshan-koirala avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.