Git Product home page Git Product logo

cleverice's Introduction

A submission to ToHacks 2021

A tool that helps automate the insurance claim process

๐Ÿ’ก Inspiration

Having an accident is already a bad thing, having to wait for the insurance claim to process is even worse. Sometimes, the customer could already have written an accident claim report prior to applying with the Insurance company. With the hope of improving customers' satisfaction, the claim letter can go reused and can help insurance companies speed up their processing time. Their customers now can rest assured that they will receive their claim faster than before.

๐Ÿค” What it does

CleverICE (or Clever Insurance Claim Extract) allows insurance companies to upload claim letters from their customers and get insights quickly. We leverage OCR Detection so users can upload their claims as a PDF file. With Generative Pre-trained Transformer 3 (GPT-3) from OpenAI, we are to automatically extract relevant information by summarizing it in the form of Q&A.

๐Ÿ› ๏ธ How we built it

  • We start by storing PDF files that users upload in Google Cloud Storage.
  • Then we convert documents from PDF to text using the Google Cloud Vision.
  • We store the extracted text in another bucket on Google Cloud Storage.
  • The paths to text and PDF files along with users' information are stored on CockroachDB.
  • Then we extract information and answer related questions using GPT-3 OpenAI.

Frontend: Angular

Backend: Python with Flask. CockroachDB using SqlAchemy as Database.

๐Ÿ’ช Challenges we ran into

  • 405 error due to CORS policy that prevents us to send POST requests to the back-end
  • It's hard to calibrate the parameters of OpenAI to produce accurate results.
  • Heroku hosting errors

โญ Accomplishments that we're proud of

We're proud to have been able to create a prototype in 24 hours! The back-end works well and endpoints work correctly as expected.

๐Ÿ“š What we learned

  • We learn how to connect remotely to the CockroachDB SQL database
  • Learn how to leverage NLP with Open AI.
  • OpenAI is awesome!

๐ŸŽฌ Demo

1. Upload Doc

upload-form

2. After Submission

uploaded

3. Claim information extracted

info-extracted

๐Ÿ”Œ How to run Backend

	$ pipenv shell
	$ pipenv install
	$ pip install -r requirements.txt
	$ python run.py

๐Ÿ’ป How to run Frontend

	$ npm install
	$ npm run start

CleverICE will be listening on http://localhost:4200/

cleverice's People

Contributors

chelsieng avatar ducngn avatar niyonx avatar

Watchers

 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.