200320116016_Part3_Report
200320116016_Part3_Report
200320116016_Part3_Report
Table of Content
List of Figures………………………………………………………….
List of Tables…………………………………………………………..
List of Abbreviations…………………………………………………...
Chapter 1 Introduction About Injala ………………………………01
1.1 Introduction……………………………………………… 01
1.2 Company Profile………………………………………… 01
1.3 Company Mission and Vision……………………………01
1.4 Injala Products……………………………………………02
Chapter 2 Introduction About Project……………………………...03
2.1 Introduction………………………………………………03
2.2 Objective of Project………………………………………03
2.3 Existing problem in Insurance System…………………...04
2.4 Functional Requirement………………………………….04
2.5 Stages of Project………………………………………….04
Chapter 3 Tools, Libraries and Software Used………………….....05
3.1 Tools Used………………………………………………..05
3.2 Libraries Used……………………………………………06
Chapter 4 Knowledge Gained & Learning Outcome………………08
4.1 AI-ML Technical Knowledge……………………………08
4.2 Insurance Domain Knowledge…………………………...09
Types of Policies…………………………………………09
Policy Section…………………………………………....10
ACCORD 25 …………………………………………….10
4.3 LLM Technical knowledge………………………………11
Prompt Engineering………………………………………11
PEFT……………………………………………………...13
Chapter 5 Contributions………………………………………………14
5.1 Understand policy and Making Pipeline………………..…14
5.2 Data Segregation…………………………………………..14
5.3 Annotation and Prompt-Response Generation………..…...14
5.4 RAG Module…………………………………………..…..15
5.5 LLM Module for Rating Section………………………......15
5.6 Session to Understand Rating Terms…………………..….15
Chapter 6 System Design……………………………………………...17
6.1 Use Case Diagram…………………………………………17
6.1.2 Purpose of Use Case Diagram…………………….....17
6.1.3 Symbols Used in Use Case Diagram…………….......17
6.2 Class Diagram……………………………………………...19
6.2.1 Purpose of Class Diagram……………………….......19
6.2.2 Symbols Used in Class Diagram………………….....19
6.3 Activity Diagram…………………………………………..20
6.3.1 Purpose of Activity Diagram………………………...20
Chapter 7 Project Code Implementation………………………….....22
7.1 Flow Diagram of Project Implementation………………....22
7.2 LLM Model Training Code……………………………......22
Chapter 8 Testing……………………………………………………...28
8.1 Testing Plan……………………………………………….28
8.2 Testing Strategies…………………………………………28
8.3 Testing Methods……………………………………….....29
8.4 Test Case…………………………………………………29
Chapter 9 Snapshots of Final Deliverable………………………….31
9.1 Snapshots of RiskGuru…………………………………..31
Chapter 10 Challenges Faced During Project……………………...35
Chapter 11 Conclusion……………………………………………....36
References…………………………………………………………….37
List of Figures
Figure 1.1 Injala Products……………………………………………. 02
Figure 2.1 RiskGuru Project…………………………………………..03
Figure 3.1 Tools Used……..…………………………………………..05
Figure 3.2 Libraries Used……………………………………………...06
Figure 3.3 Logos…...…………………………………………………..07
Figure 4.2.1 Types of policies …………………………………………09
Figure 4.2.2 Policies Section..…………………………………………10
Figure 4.2.3 ACCORD...………………………………………………11
Figure 4.3.1 LLM Technical Knowledge…...…………………………13
Figure 5.1 Policy Pipeline………...…………………………………...14
Figure 5.6 Rating Classification terms………………………………...16
Figure 6.1.3 a Use Case Diagram…..………………………………….18
Figure 6.1.3 b Use Case Diagram….…………………………………..18
Figure 6.2.2 Class Diagram……………………………………………20
Figure 6.3 Activity flow Diagram…...………………………………...21
Figure 7.1 Flow Diagram of project…………………………………,,,22
Figure 7.2.1 Hugging Face login…..………………………………….22
Figure 7.2.2 Create temp folder for checkpoints...…………………….23
Figure 7.2.3 Import Important Libraries...…………………………….23
Figure 7.2.4 Quantize the model & Load it…...……………………….24
Figure 7.2.5 a Convert CSV into LLM Chat…………………………..24
Figure 7.2.5 b Convert CSV into LLM Chat ...………………………..25
Figure 7.2.6 Convert file into Dataframe…..………………………….25
Figure 7.2.7 Read the Data…………………………………………….26
Figure 7.2.8 Split data into train and split….………………………….26
Figure 7.2.9 Decide LORA Parameter…..…………………………….26
Figure 7.2.10 Decide Training Parameter……………………………...27
Figure 7.2.11 Train the model and Store it..…………………………...27
List of Tables
Table 1.1.1 ………………………………………………………………. 01
Table 6.1.3 ………………………………………………………………. 17
Table 6.2.2 ………………………………………………………………. 19
List of Abbreviation
AI ---------------------- Artificial Intelligence
ML ----------------------Machine Learning
NLP ---------------------Natural Language Processing
OCR---------------------Optical Character Recognition
ANN---------------------Artificial Neural Network
CNN---------------------Convolution Neural Network
COI----------------------Certificate of Insurance
RAG---------------------Retrieval Augmented Generation
COT---------------------Chain of thought
ReACT------------------Reason+Act
PEFT---------------------Parameter Efficient Fine Tuning
LORA--------------------Low Rank Adaption Matrix
QLORA------------------Quantized Low Rank Adaption Matrix
LLM ----------------------Large Language Model