The "BardReader Chrome Extension" is designed to simplify the process of understanding lengthy Terms and Conditions documents. It leverages the power of AI and the Bard API to extract the key points from these documents and provide concise summaries to the users.
With the extension installed in their Chrome browser, users can easily access the Terms and Conditions of websites or online services they encounter. The extension leveraged the Bard API, which provided advanced natural language processing capabilities. By making API calls, the extension extracted the relevant sections from the Terms and Conditions documents and generated summaries.
For development, you will only need Node.js, Bardapi, Flask and Python Package intsalled in your environment.
-
Just go on official Node.js website and download the installer. If the installation was successful, you should be able to run the following command.
$ node --version v8.11.3
For Flask, just go on official website and follow the instructions, make sure your system has the latest version of Python Installed.
Run the following command on your terminal to install bardapi
$ pip install bardapi
Download and extract the zip file or you can clone using the following link
$ git clone https://github.com/rashafathima/BardReader-Chrome-Extension.git
You can use follow this tutorial to hunt for your API key. Once you get your API key, replace it with YOUR API KEY in the app.py file.
In the directory where your app.py is located run the following command in your terminal.
python app.py
- Navigate to chrome://extensions in your google chrome
- Set it to developer's mode
- Click on Load Unpacked Files and load your project folder
You can now use your extension to read T&Cs with ease.