🦜️🔗 Chat W/ Slack Export
This repo is an implementation of a locally hosted chatbot specifically focused on question answering over a slack export using Docker.
It is derived from (hwchase17/chat-langchain) https://github.com/hwchase17/chat-langchain
Note: Most of your slack history is transmitted to OpenAI during the process of building this container.
- Export your data from slack and place the zip file in this folder as slack-export.zip
- Use the following command with your own OpenAI API key to build the image and calculate the document embeddings
docker build -t chat-with-slack --build-arg=OPENAI_API_KEY=sk-...
- Run the image with this command
docker run -d -p 9000:9000/tcp chat-with-slack
- Connect to the app at http://127.0.0.1:9000 and ask your questions