Awesome
<p align="center"> <br><br><br> <a https://github.com/Haste171/langchain-chatbot/stargazers"><img src="https://github.com/Haste171/langchain-chatbot/assets/34923485/9bc2b4a3-f19e-4ca0-9a4b-f6db4715ae38" width="760px" length="400"></a> <br><br><br> </p> <p align="center"> <b>Efficiently use Langchain for Complex Tasks</b> </p> <p align=center> <a href="https://github.com/Haste171/langchain-chatbot/releases"><img src="https://badgen.net/github/release/Haste171/langchain-chatbot"> <a href="https://gitHub.com/Haste171/langchain-chatbot/graphs/commit-activity"><img src="https://img.shields.io/badge/Maintained%3F-yes-green.svg"> <a href="https://github.com/Haste171/langchain-chatbot/blob/master/LICENSE"><img src="https://img.shields.io/github/license/Haste171/langchain-chatbot"> <a href="https://discord.gg/KgmN4FPxxT"><img src="https://dcbadge.vercel.app/api/server/KgmN4FPxxT?compact=true&style=flat"></a> </a> <!-- *The LangChain Chatbot is an AI chat interface for the open-source library LangChain. It provides conversational answers to questions about vector ingested documents.* --> <!-- *Existing repo development is at a freeze while we develop a langchain chat bot website :)* -->🚀 Installation
User-Setup
Join the Discord server for help
Dev-Setup
Prerequisites:
- Git - 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
OPENAI_API_KEY=
PINECONE_API_KEY=
PINECONE_ENV=
PINECONE_INDEX=
Install Requirements
poetry install
Activate Environment
poetry shell
Run Startup
python3 startup.py
🔧 Key Features
✅ Interactive Ingestion UI for files
✅ Chat UI with source, temperature, vector_k, and other parameter changing abilities
✅ More features coming very soon
Soon:
- Compatibility with many more files types
- Compatibility with offline models (HuggingFace, Vicuna, Alpaca)
💻 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