| CPC G06F 16/9535 (2019.01) [G06F 21/577 (2013.01)] | 20 Claims |

|
1. A computer-implemented method comprising:
providing an embedded service in an application;
in response to receiving an input via the embedded service, determining an applicable module of a plurality of modules based on a characteristic of at least one of the input and of the embedded service;
processing the input via the applicable module; and
controlling the application based on the processed input,
wherein the applicable module comprises a contract module, and
wherein the input comprises a first input document and at least one second input document,
wherein processing the input comprises:
determining, by a machine learning model, embeddings representative of one or more levels of the first input document and the at least one second input document,
generating, by the machine learning model, a single embedding representative of an amount of deviation for at least one term of the first input document from at least one term of the at least one second input document based on the embeddings representative of the one or more levels of the first input document and the at least one second input document,
extracting, by the machine learning model, the at least one term of the first input document based on the single embedding exceeding a threshold,
determining, by the machine learning model, an action from a list of actions in response to the single embedding exceeding the threshold and based on the at least one term, and
presenting the action as an interactive element of the application,
wherein the at least one second input document comprises a document comprising one or more substitute terms having a relative fairness above a threshold value based on semantic features of the first input document.
|