Skip to content

ashhass/Chatbot

Repository files navigation

Chatbot_With_UI

Simple chatbot with a flask web interface.

The chatbot leverages OpenAI API for user query comprehension complemented with RAG for up-to-date information retrieval.

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

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


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

About

Simple chatbot using LangChain with RAG and Flask

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy