TLDR-the-TnC / README.md
deedax's picture
Update README.md
0d4d500

A newer version of the Gradio SDK is available: 5.5.0

Upgrade
metadata
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

live deployment available at Render.com

Reference

Langchain

Contact

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference