Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 477 Bytes

File metadata and controls

32 lines (26 loc) · 477 Bytes

Python Streamlit Chatbot

Simple chatbot app built with:

  • streamlit
  • langchain
  • langchain_openai
  • langchain_core
  • python-dotenv

Setup

  1. Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Add your OpenAI key:
cp .env.example .env

Then set OPENAI_API_KEY in .env.

  1. Run the app:
streamlit run app.py