The repo contains two python packages:
- chatbot: chatbot implementation with LangChain
- chatbot_logger: Aim-based logging and observability package for chatbots
- Clone the repo
- Add
.envfile atchatbot/chatbotwithserpapi_keyandopenai_keykeys - Install the logger
cd chatbot_logger && pip install -e .(in editable mode) - Install the chatbot
cd chatbot && pip install -e .(in editable mode)
- Start Aim server
aim server --package chatbot_logger - Execute
chatbot runto run the chatbot - Up Aim UI
aim up --package chatbot_logger