GENERATION OF CUSTOMIZED CODE
Apparatuses, systems and methods are provided for generating customized code. The apparatuses, systems and methods may cause a chatbot to generate customized code. The apparatuses, systems and methods may integrate the customized code in an insurance application. The customized code, when executed by one or more processors, may cause the one or more processors to collect user information from a user device, determine whether a change of insurance policy for the user is required, and responsive to determining that a change of insurance policy is required, automatically update the insurance policy in the insurance application based upon the required change.
1 . A computer system for generating customized code, the computer system comprising:
one or more processors; and
a non-transitory memory storing executable instructions thereon that, when executed by the one or more processors, cause the one or more processors to:
detect a request from a user to generate a customized insurance policy,
cause a machine learning (ML) chatbot to generate customized code to be used in an insurance application, wherein the customized code implements the customized insurance policy, and
integrate the customized code in the insurance application, wherein the customized code, when executed by one or more processors of an application server, cause the one or more processors of the application server to:
collect user information from a user device,
determine whether a change of insurance policy for the user is required, wherein the insurance policy is comprised in the insurance application, and
responsive to determining that a change of insurance policy is required, automatically update the insurance policy in the insurance application based upon the required change.
2 . The computer system of claim 1 , further comprising the application server.
3 . The computer system of claim 1 , wherein the executable instructions, when executed by the one or more processors, further cause the one or more processors to:
collect user information from the user device;
determine whether a change of the user information exceeds a predetermined threshold for an insurance policy change;
responsive to determining that the change of the user information exceeds the predetermined threshold, initiate an initial session allowing the user to customize an insurance policy; and
responsive to the user input to customize the insurance policy, generate a recommended insurance policy and present the recommended insurance policy to the user via the user device.
4 . The computer system of claim 3 , wherein to detect the request from the user to generate the customized insurance policy, the executable instructions, when executed by the one or more processors, further cause the one or more processors to:
detect that the user accepted the recommended customized insurance policy as the customized insurance policy.
5 . The computer system of claim 3 , wherein:
the system further comprises a data analysis module configured to process data in a standardized format; and
to generate the recommended insurance policy, the executable instructions, when executed by the one or more processors, cause the one or more processors to:
receive, via the user device, user input comprising user data, wherein the user input is in a non-standardized format;
convert the user data from the non-standardized format to the standardized format compliant to be used by the data analysis module;
transmit, to the data analysis module, the user data in the standardized format to generate an analysis result; and
responsive to receiving the analysis result, generate the recommended insurance policy based at least partially on the analysis result.
6 . The computer system of claim 1 , wherein to cause the ML chatbot to generate the customized code, the executable instructions, when executed by the one or more processors, further cause the one or more processors to:
locate target code in the insurance application, wherein the target code implements a current insurance policy for the user; and
cause the ML chatbot to generate the customized code in a similar format with the target code.
7 . The computer system of claim 6 , wherein causing the ML chatbot to generate the customized code further comprises transmitting the location of the target code to the ML chatbot.
8 . The computer system of claim 1 , wherein the customized code, when executed by the one or more processors of the application server, further cause the one or more processors of the application server to perform at least one of:
creating an update to the insurance policy; and
transmit a proposed update to the insurance policy to the user device for user review, modification, and/or approval.
9 . The computer system of claim 1 , wherein:
the user information comprises location of the user and a time stamp associated with the location of the user, and
the customized code, when executed by the one or more processors of the application server, further cause the one or more processors of the application server to:
determine whether there is a substantial change of location of the user for a significant period of time, and
responsive to determining that there is a substantial change of location of the user for a significant period of time, incorporate the substantial change of location into the required change of insurance policy.
10 . The computer system of claim 9 , wherein the substantial change of location comprises at least one of:
the user relocating to a region of lower safety,
the user relocating to a region of higher safety, and
the user relocating to another country,
the required change of insurance policy associated with the user relocating to the region of lower safety is to increase a coverage of the insurance policy,
the required change of insurance policy associated with the user relocating to the region of higher safety is to decrease the coverage of the insurance policy, and
the required change of insurance policy associated with the user relocating to another country is to change the coverage of the insurance policy or suspend the insurance policy.
11 . The computer system of claim 1 , wherein:
the user information comprises activity data of the user, and
the customized code, when executed by the one or more processors of the application server, further cause the one or more processors of the application server to:
determine whether a change of the user information exceeds a predetermined threshold for an insurance policy change, and
responsive to determining that the change of the user information exceeds the predetermined threshold, incorporate the change of the user information into the required change of insurance policy.
12 . The computer system of claim 1 , wherein the instructions, when executed by the one or more processors, further cause the one or more processors to:
cause the ML chatbot to generate a plurality of versions of customized code; and
send the plurality of versions of customized code to a human expert for selection.
13 . The computer system of claim 1 , wherein the instructions, when executed by the one or more processors, further cause the one or more processors to:
cause the ML chatbot to generate a plurality of versions of customized code; and
send the plurality of versions of customized code to a trained model for selection.
14 . The computer system of claim 1 , wherein the ML chatbot is trained with at least one of:
code compliant for use in the insurance application;
code associated with a prior demand related to insurance activities; and
code compliant for use for insurance activities.
15 . A computer-implemented method for generating customized, the method comprising:
detecting, by one or more processors, a request from a user to generate a customized insurance policy,
causing, by one or more processors, a machine learning (ML) chatbot to generate customized code to be used in an insurance application, wherein the customized code implements the customized insurance policy, and
integrating, by one or more processors, the customized code in the insurance application, wherein the customized code, when executed by one or more processors of an application server, cause the one or more processors of the application server to:
collect user information from a user device,
determine whether a change of insurance policy for the user is required, wherein the insurance policy is comprised in the insurance application, and
responsive to determining that a change of insurance policy is required, automatically update the insurance policy in the insurance application based upon the required change.
16 . The computer-implemented method of claim 15 , further comprising:
collecting, by one or more processors, user information from the user device;
determining, by one or more processors, whether a change of the user information exceeds a predetermined threshold for an insurance policy change;
responsive to determining that the change of the user information exceeds the predetermined threshold, initiating, by one or more processors, an initial session allowing the user to customize an insurance policy; and
responsive to the user input to customize the insurance policy, generating a recommended insurance policy and present the recommended insurance policy to the user via the user device.
17 . The computer-implemented method of claim 16 , wherein detecting the request from the user to generate the customized insurance policy comprises:
detecting, by one or more processors, the user accepts the recommended customized insurance policy as the customized insurance policy.
18 . The computer-implemented method of claim 16 , wherein generating the recommended insurance policy comprises:
receiving, via the user device, user input comprising user data, wherein the user input is in a non-standardized format;
converting, by one or more processors, the user data from the non-standardized format to a standardized format compliant to be used by a data analysis module, the data analysis module configured to process data in a standardized format;
transmitting, to the data analysis module, the user data in the standardized format to generate an analysis result; and
responsive to receiving the analysis result, generating, by one or more processors, the recommended insurance policy based at least partially on the analysis result.
19 . A computer readable storage medium storing non-transitory computer readable instructions for generating customized code, wherein the instructions when executed on one or more processors cause the one or more processors to:
detect a request from a user to generate a customized insurance policy,
cause a machine learning (ML) chatbot to generate customized code to be used in an insurance application, wherein the customized code implements the customized insurance policy, and
integrate the customized code in the insurance application, wherein the customized code, when executed by one or more processors of an application server, cause the one or more processors of the application server to:
collect user information from a user device,
determine whether a change of insurance policy for the user is required, wherein the insurance policy is comprised in the insurance application, and
responsive to determining that a change of insurance policy is required, automatically update the insurance policy in the insurance application based upon the required change.
20 . A computer system for generating customized code, the computer system comprising:
one or more processors; and
a non-transitory memory storing executable instructions thereon that, when executed by the one or more processors, cause the one or more processors to:
detect a request from a user to generate a customized insurance policy,
cause an artificial intelligence (AI) chatbot to generate customized code to be used an the insurance application, wherein the customized code implements the customized insurance policy, and
integrate the customized code in the insurance application, wherein the customized code, when executed by one or more processors of an application server, cause the one or more processors of the application server to:
collect user information from a user device,
determine whether a change of insurance policy for the user is required, wherein the insurance policy is comprised in the insurance application, and
responsive to determining that a change of insurance policy is required, automatically update the insurance policy in the insurance application based upon the required change.