Personalization of conversational agents through macro recording
AssigneeInternational Business Machines Corporation
InventorsMartin Hirzel, Louis Mandel, Avraham E. Shinnar, Jerome Simeon, Mandana Vaziri
Life of this patent
Estimating the term…
Abstract
A computer-implemented conversational agent engages in a natural language conversation with a user, interpreting the natural language conversation by parsing and tokenizing utterances in the natural language conversation. Based on interpreting, a set of utterances in the natural language conversation to be recorded as a macro is determined. The macro is stored in a database with an associated macro identifier. Replaying of the macro executes a function specified in the set of utterances.
Claims20
A computer-implemented conversational agent method executed by at least one hardware processor, comprising:
- receiving a natural language conversation between a conversational agent executed by at least one hardware processor and a user, wherein the natural language conversation takes place between the user and the at least one hardware processor executing the conversational agent;
- interpreting the natural language conversation by the conversational agent by parsing and tokenizing utterances in the natural language conversation;
- based on the interpreting, determining that a set of utterances in the natural language conversation is to be recorded as a macro;
- and
- storing the macro in a database with an associated macro identifier.
A computer readable storage medium storing a program of instructions executable by a machine to perform a method for a computer-implemented conversational agent, the method comprising:
- receiving a natural language conversation between a conversational agent executed by at least one hardware processor and a user, wherein the natural language conversation takes place between the user and the at least one hardware processor executing the conversational agent;
- interpreting the natural language conversation by the conversational agent by parsing and tokenizing utterances in the natural language conversation;
- based on the interpreting, determining that a set of utterances in the natural language conversation is to be recorded as a macro;
- and
- storing the macro in a database with an associated macro identifier.
A conversational agent system, comprising:
- a hardware processor;
- and
- a storage device coupled with the hardware processor,
- the hardware processor operable to receive natural language utterances from a user and output responses to the user in natural language, the hardware processor further operable to invoke a web application programming interface to call a web service in providing the responses to the user, wherein a natural language conversation takes place between the user and the hardware processor in providing the web service to the user,
- the hardware processor operable to interpret the natural language utterances by parsing and tokenizing the natural language utterances,
- based on interpreting, the hardware processor operable to determine that a set of utterances in the natural language conversation is to be recorded as a macro, and to store on the storage device the macro with an associated macro identifier,
- the hardware processor further operable to replay the macro in response to detecting an utterance that includes the macro identifier in subsequent natural language conversation,
- wherein replaying of the macro executes a function specified in the set of utterances.
Dependencies are inferred from the claim text.