Skip to content

TLDR the T&C uses an LLM to understand the contents of Terms and Conditions documents and provides a user-friendly chatbot interface for users to ask questions and receive answers.

License

Notifications You must be signed in to change notification settings

Daheer/TLDR-the-TnC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

TLDR-the-TnC.mp4

live demo available at this HuggingFace Space

live deployment available at Render.com

Reference

Langchain

Contact

About

TLDR the T&C uses an LLM to understand the contents of Terms and Conditions documents and provides a user-friendly chatbot interface for users to ask questions and receive answers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published