--- title: TLDR The TnC emoji: 📃 colorFrom: green colorTo: blue sdk: gradio sdk_version: 3.23.0 app_file: app.py pinned: false license: mit --- # TLDR-the-T&C > TLDR the T&C is a Gradio-based chatbot that provides a user-friendly interface for users to ask questions about the contents of Terms and Conditions (T&C) documents. The chatbot uses an LLM (Language Model Machine) and the OpenAI API to understand the T&C documents and provide summarized answers to users' queries. > The code is designed to process both PDF and TXT files and includes functionality for splitting large documents into smaller chunks for more efficient processing. The OpenAI API is used for text embeddings and retrieval QA, which allows the chatbot to provide more accurate and relevant responses to users' questions. > Overall, TLDR-the-T&C provides a powerful and user-friendly way for users to quickly and easily understand the contents of T&C documents, without having to read through lengthy and often complicated legal documents themselves. # Built Using - Python - Langchain - OpenAI GPT-3.5 Turbo - Gradio # Usage git clone https://github.com/Daheer/TLDR-the-TnC.git pip install -r requirements.txt python app.py --key sk-XXXXXXXXXXXXX # Demo Video goes here!!! live demo available at [this HuggingFace Space](https://huggingface.co/spaces/deedax/TLDR-the-TnC) live deployment available at [Render.com](https://tldr-the-tandc.onrender.com/tldr-bot/) # Reference [Langchain](https://langchain.readthedocs.io/) # Contact
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference