Skip to content

Haste171/langchain-chatbot

Repository files navigation







Efficiently use Langchain for Complex Tasks

🚀 Installation

User-Setup

Join the Discord server for help

Dev-Setup

Prerequisites:

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:

  1. Fork the repository
  2. Create a new branch for your feature or bug fix
  3. Write tests for your changes
  4. Implement your changes and ensure that all tests pass
  5. 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

fixed-prev fixed-prev

Maintained by Developers of legalyze.ai