Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 646 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 646 Bytes

LangChain-based chatbot with observabilty layer

The repo contains two python packages:

  • chatbot: chatbot implementation with LangChain
  • chatbot_logger: Aim-based logging and observability package for chatbots

Installation

  1. Clone the repo
  2. Add .env file at chatbot/chatbot with serpapi_key and openai_key keys
  3. Install the logger cd chatbot_logger && pip install -e . (in editable mode)
  4. Install the chatbot cd chatbot && pip install -e . (in editable mode)

Run

  1. Start Aim server aim server --package chatbot_logger
  2. Execute chatbot run to run the chatbot
  3. Up Aim UI aim up --package chatbot_logger