Skip to content

ishtardev/beginner-langchain-qa-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beginner-langchain-qa-bot

Simple Q&A chatbot using LangChain (LCEL) and OpenAI. Includes a CLI script and a notebook.

Contents

  • app.py — CLI chatbot with in‑memory chat history (LangChain + ChatOpenAI)
  • qa_chatbot.ipynb — Notebook version for interactive runs
  • requirements.txt — Python dependencies
  • .env.example — Template for environment variables
  • .gitignore — Ignores .env, caches, notebook checkpoints
  • README.md — Repo overview

Requirements

  • Python 3.10+
  • OPENAI_API_KEY in a .env file (copy from .env.example)

Quickstart

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py

About

Simple Q&A chatbot using LangChain (LCEL) and OpenAI. Includes a CLI script and a notebook.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published