Inspiration

The inspiration behind TnC Digest was to help people understand lengthy terms and conditions documents, which are often difficult to read and understand. To be honest, I have never read a single Terms and Conditions or Policy documents in a my life before signing up any product/service. Have you?

What it does?

TnC Digest is an app that uses AI to summarize terms, conditions, and policies documents into key points and highlights the most important information for the user and sends the email which can be processed further.

How I built it

It is build with Python and the AI21 API. I have used Streamlit for the user interface and Courier API to send emails.

AI21 Labs features include advanced natural language processing, machine learning models for text generation, and AI-based content creation tools for writers and marketers. Prompting - You can train your model and generate own presets at AI21 Labs playground. Then use the preset code in your code for your desired application.

Courier API allows developers to send personalized, multichannel notifications and messages to their customers through various channels with just a few lines of code. It provides a easy way of email integration to your app. The designer feature in Courier helps us to create our own templatess easily. We can use these templates in our app by passing the template ID and the desired parameters.

Microlink is an API that extracts information from any link with a single API call, including title, description, author, and more, and supports multiple programming languages. In our case, I have gathered the publisher, title, and, description from the given website and send these to the Couriers email template API.

Streamlit is used to build the app using python.

Future Scope

I think using another app is not that good. It is better if we have a Chrome Extension. When a user click on the extension it automatically generates key points and also sends those to the respective user to know what they are signing up for. So I am planning to do it. Open for collaboration and contribution :)

Built With

  • ai21labs
  • courier
  • python
  • streamlit
Share this project:

Updates