Simple Q&A chatbot using LangChain (LCEL) and OpenAI. Includes a CLI script and a notebook.
- 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
- Python 3.10+
- OPENAI_API_KEY in a .env file (copy from .env.example)
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py