DEV Community

Kishan
Kishan

Posted on

Weekend created Compliance document Analyzer with lamaparse and azure openai

This weekend, in workplace hackathon was arranged which was given problem statements

  1. Hr analyst for resume and all streamlined process.
  2. Document compilance analyst. where document rules will be provided with section wise finally give that score.

We (me and one of my collegue) choose second it was usecase, which can be used as all intrview hr analyst applications are common.

we taken suggestions from chatgpt, what should we do.
suggsted
-> File Upload -> process document -> based on prompt response given in format

--------------------------- Architecture ---------------------------------
Used lamaparse for document parsing getting data in markdown format as raw content

calling openai call based on business rule setuped.

Bingoooo

For frontend used react and nextjs.
For backend used fastapi

  • We created beautiful section for business rule

Suppose there are docuemnt types like sop, insurance, invoice.
In that document there are 4-5 sections in document like Introduction, review history, procedure, etc. Then user can add much in them and in every section we can configure as shown in image

After document sections

Document rules

some examples of document sections:

Final destination...

This is chat screen (we were suppose to integrate agent or maybe simple call but not able to due to time constraint)

Whenever file uploads it shows:

detail analysis show all:

For section missing new some fine tunning in prompt...
still for better reach and work.....

Top comments (0)