Skip to content

Simple chatbot using LangChain with RAG and Flask

Notifications You must be signed in to change notification settings

ashhass/Chatbot

Repository files navigation

Chatbot_With_GUI

Simple chatbot with a web interface built to assist financial analysts with up-to-date information on the financial market.

The chatbot leverages openai LLM for user query comprehension with RAG inorder to answer queries on current status of the dynamic financial market.

Tools Used:

  1. LangChain framework: for user query synthesis and reply generation
  2. Flask: for web gui
  3. GPT-3.5: for language understanding
  4. Linkedin blogpost: for current information retrieval; Link

Screen Shot 2024-01-11 at 1 49 47 PM

Steps to run:

  1. Download this github repository

  2. Create a virtual environment

    python -m venv venv

  3. Activate the virtual environment

    source venv/bin/activate or venv/bin/activate [for Windows]

  4. Install the requirements

    pip install -r requirements.txt

  5. Add your OpenAI API key in a .env file

  6. On the terminal run the command below

    python app.py

  7. App should not be running on localhost default port

About

Simple chatbot using LangChain with RAG and Flask

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published