IP Library Granted Patent US 12,499,317
Granted Patent B2
US 12,499,317 · App. 17/483,275 · Granted Dec 16, 2025

Creating dialogs for a problem-solution data set

Inventors: Piotr Kalandyk (Zielonki, PL); Hubert Kompanowski (Izbica Kujawska, PL); Grzegorz Piotr Szczepanik (Cracow, PL); Pawel Tadeusz Januszek (Cracow, PL)
Assignee: International Business Machines Corporation
G06F40/35G06F16/3329G06F40/166G10L15/16
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,499,317
App. No.
17/483,275
Filed
Sep 23, 2021
Granted
Dec 16, 2025
Kind
B2
Art Unit
2659
USPC
704/9
Abstract

Metadata can be generated for documentation accessed from at least one knowledge source. Intents for main topics of the documentation can be generated using content structure information for the documentation. Dialogs for the intents can be generated. Sub-dialogs can be created for each of the dialogs based, at least in part, on the metadata for the documentation. The dialogs can be configured to be used to modify existing dialogs of a problem-solution data set.

Claims (58)

1 . A method, comprising:

accessing a plurality of pages of documentation from at least one knowledge source;

generating first metadata describing content of respective ones of the plurality of pages of the documentation;

generating, using a processor, a set of first intents for main topics of the documentation using content structure information for the documentation, wherein the generating the set of first intents comprises identifying, using an artificial intelligence (AI) system, intents and entities based on information provided in the respective ones of the plurality of pages of the documentation, and wherein the AI system is trained using machine learning to identify the intents and the entities;

generating dialogs for the set of first intents;

creating sub-dialogs for each of the generated dialogs for the set of first intents based, at least in part, on the first metadata;

determining, for a first intent of the set of first intents, whether there is a second intent, from an existing problem-solution data set used as a chatbot workspace, that is a same as or similar to the first intent;

responsive to determining that the second intent, from the existing problem-solution data set used as the chatbot workspace, is not the same as or similar to the first intent, adding to existing dialogs of the existing problem-solution data set the generated dialogs for the set of first intents and the sub-dialogs created for each of the generated dialogs for the set of first intents; and

generating a user conversation based on the existing problem-solution set using a chatbot, wherein the chatbot is trained using the AI system based at least in part on the intents.

2 . The method of claim 1 , further comprising:

creating examples for the intents, wherein the examples represent questions to which answers are to be provided by the sub-dialogs;

wherein the creating the sub-dialogs further is based, at least in part, on the examples created for the intents.

3 . The method of claim 2 , wherein the sub-dialogs specify as output the answers to the questions.

4 . The method of claim 3 , wherein at least a portion of the sub-dialogs further specify conditions that provide context to the answers.

5 . The method of claim 4 , wherein the sub-dialogs inherit conditions from sub-dialog groups to which the sub-dialogs are assigned.

6 . The method of claim 3 , further comprising:

adding to the respective ones of the plurality of pages of the documentation a corresponding second metadata, the sub-dialogs comprising the questions and the answers addressed by the respective ones of the plurality of pages of the documentation.

7 . The method of claim 1 , further comprising:

identifying a first level of the content structure information as the main topics of the documentation.

8 . A system, comprising:

one or more processors; and

one or more memory devices coupled to the one or more processors, wherein the one or more processors are configured to:

access a plurality of pages of documentation from at least one knowledge source;

generate first metadata describing content of respective ones of the plurality of pages of the documentation;

generate a set of first intents for main topics of the documentation using content structure information for the documentation, wherein the generating the set of first intents comprises identifying, using an artificial intelligence (AI) system, intents and entities based on information provided in the respective ones of the plurality of pages of the documentation, and wherein the AI system is trained using machine learning to identify the intents and the entities;

generate dialogs for the set of first intents;

create sub-dialogs for each of the generated dialogs for the set of first intents based, at least in part, on the first metadata;

determine, for a first intent of the set of first intents, whether there is a second intent, from an existing problem-solution data set used as a chatbot workspace, that is a same or similar to the first intent;

responsive to determining that the second intent, from the existing problem-solution data set used as the chatbot workspace, is not the same as or similar to the first intent, add to existing dialogs of the existing problem-solution data set the generated dialogs for the set of first intents and the sub-dialogs created for each of the generated dialogs for the set of first intents; and

generate a user conversation based on the existing problem-solution set using a chatbot, wherein the chatbot is trained using the AI system based at least in part on the intents.

9 . The system of claim 8 , wherein the one or more processors are further configured to:

create examples for the intents, wherein the examples represent questions to which answers are to be provided by the sub-dialogs,

wherein the creating the sub-dialogs further is based, at least in part, on the examples created for the intents.

10 . The system of claim 9 , wherein the sub-dialogs specify as output the answers to the questions.

11 . The system of claim 10 , wherein at least a portion of the sub-dialogs further specify conditions that provide context to the answers.

12 . The system of claim 11 , wherein the sub-dialogs inherit conditions from sub-dialog groups to which the sub-dialogs are assigned.

13 . The system of claim 10 , wherein the one or more processors are further configured to:

add to the respective ones of the plurality of pages of the documentation second metadata, the sub-dialogs comprising the questions and the answers addressed by the respective ones of the plurality of pages of the documentation.

14 . The system of claim 8 , wherein the one or more processors are further configured to:

identify a first level of the content structure information as the main topics of the documentation.

15 . A non-transitory computer-readable medium storing a set of instructions for wireless communication, the set of instructions comprising:

one or more instructions that, when executed by one or more processors of a device, cause the device to:

access a plurality of pages of documentation from at least one knowledge source;

generate first metadata describing content of respective ones of the plurality of pages of the documentation;

generate a set of first intents for main topics of the documentation using content structure information for the documentation, wherein the generating the set of first intents comprises identifying, using an artificial intelligence (AI) system, intents and entities based on information provided in the respective ones of the plurality of pages of the documentation, and wherein the AI system is trained using machine learning to identify the intents and the entities;

generate dialogs for the set of first intents;

creating sub-dialogs for each of the generated dialogs for the set of first intents based, at least in part, on the first metadata;

determine, for a first intent of the set of first intents, whether there is a second intent, from an existing problem-solution data set used as a chatbot workspace, that is a same or similar to the first intent;

responsive to determining that the second intent, from the existing problem-solution data set used as the chatbot workspace, is not the same as or similar to the first intent, add to existing dialogs of the existing problem-solution data set the generated dialogs for the set of first intents and the sub-dialogs created for each of the generated dialogs for the set of first intents; and

generate a user conversation based on the existing problem-solution set using a chatbot, wherein the chatbot is trained using the AI system based at least in part on the intents.

16 . The non-transitory computer-readable medium of claim 15 , wherein the wherein the one or more instructions cause the device to:

create examples for the intents, wherein the examples represent questions to which answers are to be provided by the sub-dialogs,

wherein the creating the sub-dialogs further is based, at least in part, on the examples created for the intents.

17 . The non-transitory computer-readable medium of claim 16 , wherein the sub-dialogs specify as output the answers to the questions.

18 . The non-transitory computer-readable medium of claim 17 , wherein at least a portion of the sub-dialogs further specify conditions that provide context to the answers.

19 . The non-transitory computer-readable medium of claim 18 , wherein the sub-dialogs inherit conditions from sub-dialog groups to which the sub-dialogs are assigned.

20 . The non-transitory computer-readable medium of claim 17 , wherein the wherein the one or more instructions cause the device to:

add to the respective ones of the plurality of pages of the documentation a corresponding second metadata, the sub-dialogs comprising the questions and the answers addressed by the respective ones of the plurality of pages of the documentation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 23, 2021
From: KALANDYK, PIOTR; KOMPANOWSKI, HUBERT; SZCZEPANIK, GRZEGORZ PIOTR; JANUSZEK, PAWEL TADEUSZ
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 057580/0952 →
Continuity (1)
Related Publication 20230087571A1 · Mar 23, 2023
References Cited (44)
US 9338493B2 · Van Os · 2016 [cited by examiner]
US 9734208B1 · Goldstein · 2017 [cited by examiner]
US 9865280B2 · Sumner · 2018 [cited by examiner]
US 10382367B2 · Pappu · 2019 [cited by examiner]
US 10629191B1 · Cheng · 2020 [cited by applicant]
US 10733993B2 · Kudurshian · 2020 [cited by examiner]
US 10978056B1 · Challa · 2021 [cited by applicant]
US 10984782B2 · Finkelstein · 2021 [cited by applicant]
US 11249774B2 · Schissel · 2022 [cited by applicant]
US 11436416B2 · Beaver · 2022 [cited by applicant]
US 11715042B1 · Liu · 2023 [cited by applicant]
US 11972331B2 · Liden · 2024 [cited by examiner]
US 20150100943A1 · Gabel · 2015 [cited by examiner]
US 20170358305A1 · Kudurshian · 2017 [cited by examiner]
US 20180097749A1 · Ventura · 2018 [cited by applicant]
US 20190042988A1 · Brown · 2019 [cited by applicant]
US 20190103095A1 · Singaraju · 2019 [cited by applicant]
US 20190124020A1 · Bobbarjung et al. · 2019 [cited by applicant]
US 20190182382A1 · Mazza et al. · 2019 [cited by applicant]
US 20190377824A1 · Wang et al. · 2019 [cited by applicant]
US 20200257857A1 · Peper · 2020 [cited by applicant]
US 20200259891A1 · Abraham · 2020 [cited by examiner]
US 20200342868A1 · Lou · 2020 [cited by applicant]
US 20200395007A1 · Cheng · 2020 [cited by applicant]
US 20210160373A1 · Mcgann · 2021 [cited by examiner]
US 20210312304A1 · Keena · 2021 [cited by examiner]
US 20220165256A1 · Maheswaran · 2022 [cited by applicant]
US 20220222424A1 · Oleynik · 2022 [cited by examiner]
US 20220237567A1 · Tiwari · 2022 [cited by examiner]
US 20220244925A1 · Moss · 2022 [cited by applicant]
US 20230087896A1 · Kalandyk et al. · 2023 [cited by applicant]
US 20230289167A1 · Gangireddy · 2023 [cited by examiner]
US 20240362019A1 · El Hattami · 2024 [cited by examiner]
CN 107133305A · 2017 [cited by applicant]
“Enrichment of Knowledge Base of Conversational Agents by Active Question Targeting,” [online] IP.Com Prior Art Database Technical Disclosure, No. IPCOM000250619D, Aug. 10, 2017, retrieved from the Internet: <https://ip… [cited by applicant]
Zamora, F. et al., “How Citibot's chatbot search engine uses AI to find more answers,” [online] Amazon, AWS Machine Learning Blog, Aug. 14, 2020, retrieved from the Internet: <https://aws.amazon.com/blogs/machine-learni… [cited by applicant]
“How Knowledge Management Makes Chatbots Better,” [online] Shelf, Chatbots Life, May 30, 2019, retrieved from the Internet: <https://chatbotslife.com/how-knowledge-management-makes-chatbots-better-562241438d81>, 5 pg. [cited by applicant]
Ait-Mlouk, A. et al., “KBot: A Knowledge Graph Based ChatBot for Natural Language Understanding Over Linked Data,” IEEE Access, Aug. 12, 2020, vol. 8, pp. 149220-149230. [cited by applicant]
Shalaby, W. et al., “Building chatbots from large scale domain-specific knowledge bases: challenges and opportunities,” In 2020 IEEE International Conference on Prognostics and Health Management (ICPHM), Jun. 8, 2020, p… [cited by applicant]
“Automated Dialog creation through knowledge corpus analysis,” [online] IP.com Prior Art Database Technical Disclosure, No. IPCOM000265136D, Mar. 2, 2021, retrieved from the Internet: <https://ip.com/IPCOM/000265136>, 3… [cited by applicant]
“Method and Process for Dialog Composition from Documents,” [online] IP.com Prior Art Database Technical Disclosure, No. IPCOM000263715D, Sep. 29, 2020, retrieved from the Internet: <https://ip.com/IPCOM000263715D>, pg. [cited by applicant]
IBM: List of IBM Patents or Patent Applications Treated as Related, Sep. 23, 2021, 2 pg. [cited by applicant]
Kalandyk, P. et al., “Leveraging Knowledge Records for Chatbot Local Search”, U.S. Appl. No. 17/483,161, filed Sep. 23, 2021, 46 pages (not provided as this application is available to the Examiner. [cited by applicant]
Bosilijkov Markov “Content Mapping for Chatbots”, Medium, Chatbots Magazine, Dec. 27, 2016, 13 pages, https://chatbotsmagazine.com/content-mapping-for-chatbots-cdb55dc51aa6. [cited by applicant]