Efficiently use Langchain for Complex Tasks
You can either join the Discord server to use the bot or invite the Langchain Chatbot to your own server.
If not you can following to steps below to setup your own Langchain Chatbot
Prerequisites:
- Git - Free
- Docker - Free
- Discord Bot - Free
- Mongo Database - Free
- Pinecone Database - Free
- OpenAI API Key - Billing Required
git clone https://github.com/Haste171/langchain-chatbot.git
Reference example.env to create .env
file
BOT_TOKEN=
MONGO_URI=
PINECONE_API_KEY=
PINECONE_INDEX=
PINECONE_ENV=
Recommended to use a Docker Container for Deployment
docker build -t langchain-chatbot .
docker run -d langchain-chatbot
✅ Credential Manager (OpenAI Keys)
✅ Space Manager (Ingestions)
✅ Documentation Ingester (For readthedocs.io sites)
Soon:
- Compatibility with multiple files types (Llama Index)
- Compatibility with offline models (HuggingFace, Vicuna, Alpaca)
- Re-adding PDF Ingester Will be implemented along with docx, doc, excel, etc.
If you would like to contribute to the LangChain Chatbot, please follow these steps:
- Fork the repository
- Create a new branch for your feature or bug fix
- Write tests for your changes
- Implement your changes and ensure that all tests pass
- Submit a pull request
The LangChain Chatbot was developed by Haste171 with much inspiration from Mayo with the GPT4 & LangChain Chatbot for large PDF docs. This project is mainly a port to Python from the Mayo chatbot.
The LangChain Chatbot is released under the MIT License.
Maintained by Developers of legalyze.ai