Patent ID: 11966562
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A computer program product for creating a NL (Natural Language) dialogue from GUI (Graphical User Interface) code, the computer program product comprising:
one or more non-transitory computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to receive GUI code representation of an application, wherein the GUI code representation is determined from a main source code of the application;
program instructions to map the GUI code representation to one or more NLI (natural language interface) components;
program instructions to determine a pre-define intent patterns based on the one more NLI components;

program instructions to create one or more intent examples based on the pre-define intent patterns, wherein the pre-define intent patterns were created by a developer and wherein the intents are on based on names and ID of GUI component from the main source code;
program instructions to create one or more entities based on the one or more intent examples;
program instructions to map action function to a backend operation of the one or more NLI components; and
program instructions to generate a NL dialogue based on the one or more intent examples, the one or more entities, mapped action function and pre-defined conversation component.