Giter Club home page Giter Club logo

tnc-digest's Introduction

TnC-Digest

Know what the Terms and Conditions say!

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.

How I built it

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

What is AI21 Labs?

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.

AI21 Labs Playground

Then use the preset code in your code for your desired application.

AI21 Labs Preset Code

What is Courier?

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.

Courier Designer

What is microlink?

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.

How to run?

Open in Gitpod

  • Open in Gitpod or clone the repo.

  • Get your API keys

  • In the .streamlit/secrets.toml file, enter the API keys

  • Install the dependancies using the requriements.txt file

  • run the command: streamlit run app.py

Output

Courier Email Response

Streamlit App Response

Future Scope

I think go to 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.

References

Contribute

Create an issue/Open a Pull Request. I am open for collaboration and stuff. You can find me on twitter @dotAadarsh

tnc-digest's People

Contributors

dotaadarsh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.