Efficiently use Langchain for Complex Tasks
🚀 Installation
User-Setup
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
Dev-Setup
Prerequisites:
- Git - Free
- Docker - Free
- Discord Bot - Free
- Mongo Database - Free
- Pinecone Database - Free
- OpenAI API Key - Billing Required
Setup
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
🔧 Key Features
✅ Credential Manager (OpenAI Keys)
✅ 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.
💻 Contributing
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
📝 Credits
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.
🔨 License
The LangChain Chatbot is released under the MIT License.
💻 Interface
Maintained by Developers of legalyze.ai