Ethical virtual assistant training platform
An embodiment establishes a population database. The embodiment constructs a behavior framework based on population data stored on the population database. The embodiment initiates a training process to train a virtual assistant to generate an output response in response to a query, including training the virtual assistant to generate responses according to the behavior framework. The embodiment monitors an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework. The embodiment generates, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework. The embodiment applies the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework. The embodiment outputs a corrected output response that meets a set of guidelines of the behavior framework.
1 . A computer-implemented method comprising:
establishing a population database, the population database configured to transmit and store population data;
constructing a behavior framework based on population data stored on the population database;
constructing a second behavior framework based on population data stored on the population database;
initiating a training process to train a virtual assistant to generate an output response in response to a query, wherein the training process comprises training the virtual assistant to generate responses according to the behavior framework;
initiating a second training process to train a second virtual assistant to generate an output response in response to a query, wherein the second training process comprises training the second virtual assistant to generate responses according to the second behavior framework;
monitoring an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework;
generating, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework;
applying the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework;
outputting a corrected output response, wherein the corrected output response meets a set of guidelines of the behavior framework;
monitoring a second interaction session between a second client interacting with the second virtual assistant to detect a deviation from the second behavior framework;
generating, upon detection of the deviation from the second behavior framework, a second correction action to apply to a portion of the second interaction session corresponding to the deviation from the second behavior framework;
applying the second correction action to the portion of the second interaction session corresponding to the deviation from the second behavior framework; and
outputting a second corrected output response, wherein the second corrected output response meets a set of guidelines of the second behavior framework.
2 . The computer-implemented method of claim 1 , wherein the second behavior framework comprises a different set of guidelines than the behavior framework.
3 . The computer-implemented method of claim 1 , wherein the correction action comprises modifying the portion of the interaction session corresponding to the deviation from the behavior framework.
4 . The computer-implemented method of claim 1 , wherein the correction action comprises providing a suggested action to mitigate a potential bias outcome.
5 . The computer-implemented method of claim 1 , wherein the correction action comprises providing additional context surrounding the portion of the interaction session corresponding to the deviation from the behavior framework.
6 . A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by a processor to cause the processor to perform operations comprising:
establishing a population database, the population database configured to transmit and store population data;
constructing a behavior framework based on population data stored on the population database;
constructing a second behavior framework based on population data stored on the population database;
initiating a training process to train a virtual assistant to generate an output response in response to a query, wherein the training process comprises training the virtual assistant to generate responses according to the behavior framework;
initiating a second training process to train a second virtual assistant to generate an output response in response to a query, wherein the second training process comprises training the second virtual assistant to generate responses according to the second behavior framework;
monitoring an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework;
generating, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework;
applying the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework:
outputting a corrected output response, wherein the corrected output response meets a set of guidelines of the behavior framework;
monitoring a second interaction session between a second client interacting with the second virtual assistant to detect a deviation from the second behavior framework;
generating, upon detection of the deviation from the second behavior framework, a second correction action to apply to a portion of the second interaction session corresponding to the deviation from the second behavior framework;
applying the second correction action to the portion of the second interaction session corresponding to the deviation from the second behavior framework; and
outputting a second corrected output response, wherein the second corrected output response meets a set of guidelines of the second behavior framework.
7 . The computer program product of claim 6 wherein the program instructions are stored in a computer readable storage device in a data processing system, and wherein the stored program instructions are transferred over a network from a remote data processing system.
8 . The computer program product of claim 6 , wherein the program instructions are stored in a computer readable storage device in a server data processing system, and wherein the program instructions are downloaded in response to a request over a network to a remote data processing system for use in the computer readable storage device associated with the remote data processing system, further comprising:
program instructions to meter use of the program instructions associated with the request; and
program instructions to generate an invoice based on the metered use.
9 . The computer program product of claim 6 , wherein the set of guidelines of the second behavior framework is different from the set of guidelines of the behavior framework.
10 . The computer program product of claim 6 , wherein the correction action comprises modifying the portion of the interaction session corresponding to the deviation from the behavior framework.
11 . The computer program product of claim 6 , wherein the correction action comprises providing a suggested action to mitigate a potential bias outcome.
12 . The computer program product of claim 6 , wherein the correction action comprises providing additional context surrounding the portion of the interaction session corresponding to the deviation from the behavior framework.
13 . A computer system comprising a processor and one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by the processor to cause the processor to perform operations comprising:
establishing a population database, the population database configured to transmit and store population data;
constructing a behavior framework based on population data stored on the population database;
constructing a second behavior framework based on population data stored on the population database;
initiating a training process to train a virtual assistant to generate an output response in response to a query, wherein the training process comprises training the virtual assistant to generate responses according to the behavior framework;
initiating a second training process to train a second virtual assistant to generate an output response in response to a query, wherein the second training process comprises training the second virtual assistant to generate responses according to the second behavior framework;
monitoring an interaction session between a client interacting with the virtual assistant to detect a deviation from the behavior framework;
generating, upon detection of the deviation from the behavior framework, a correction action to apply to a portion of the interaction session corresponding to the deviation from the behavior framework;
applying the correction action to the portion of the interaction session corresponding to the deviation from the behavior framework;
outputting a corrected output response, wherein the corrected output response meets a set of guidelines of the behavior framework;
monitoring a second interaction session between a second client interacting with the second virtual assistant to detect a deviation from the second behavior framework;
generating, upon detection of the deviation from the second behavior framework, a second correction action to apply to a portion of the second interaction session corresponding to the deviation from the second behavior framework;
applying the second correction action to the portion of the second interaction session corresponding to the deviation from the second behavior framework; and
outputting a second corrected output response, wherein the second corrected output response meets a set of guidelines of the second behavior framework.
14 . The computer system of claim 13 , wherein the second behavior framework comprises a different set of guidelines than the behavior framework.
15 . The computer system of claim 13 , wherein the correction action comprises modifying the portion of the interaction session corresponding to the deviation from the behavior framework.
16 . The computer system of claim 13 , wherein the correction action comprises providing a suggested action to mitigate a potential bias outcome.
17 . The computer system of claim 13 , wherein the correction action comprises providing additional context surrounding the portion of the interaction session corresponding to the deviation from the behavior framework.