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
.env
file atchatbot/chatbot
withserpapi_key
andopenai_key
keys - 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 run
to run the chatbot - Up Aim UI
aim up --package chatbot_logger